X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6164f93ca283074f4a0209ede0bc3fef3c68d996..d5f005cc9385455ceebdf2063aa7f421f70315d1:/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;