Can wxButton have wxEVT_PAINT as its ID in wxWidgets
Jun 12, 2011 at 7:18am
Hello, I am trying get this code to work:
wxButton *Button = new wxButton(this,wxID_OK,wxT("Read Image"),wxPoint(200,20),wxDefaultSize);
|
Can someone help?
Jun 12, 2011 at 7:38pm
What is the problem??
Jun 14, 2011 at 8:02pm
I am trying to link it up with the paint event handler useing this bit of code:
EVT_PAINT(MyPanel::OnPaint) |
Function OnPaint paints stuff in the window. When I debugged it, it displayed no errors but whe I click the button, nothing was painted.
Topic archived. No new replies allowed.