X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6164f93ca283074f4a0209ede0bc3fef3c68d996..8f974c520a8733158591891458fda10fae4c3950:/samples/event/event.cpp diff --git a/samples/event/event.cpp b/samples/event/event.cpp index 15895cf038..f158b8695b 100644 --- a/samples/event/event.cpp +++ b/samples/event/event.cpp @@ -191,6 +191,9 @@ bool MyApp::OnInit() MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size) : wxFrame((wxFrame *)NULL, -1, title, pos, size) { + // init members + m_nPush = 0; + // create a menu bar wxMenu *menuFile = new wxMenu;