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