Can wxButton have wxEVT_PAINT as its ID in wxWidgets
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?
What is the problem??
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.