Need help with wxEVT_PAINT on wxWidgets

Do anyone know how to display text or shapes by the click of a button on WxWidgets because EVT_PAINT(wxMyApp::OnPaint) does not seem to work, it doesn't report any errors either. Please can someone help?

PS. I am using wxWidgets on Codelite
Last edited on
Topic archived. No new replies allowed.