From 3aa467b63eceaae5047f1c15e5c6d59c53c3600b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 27 May 2001 13:21:16 +0000 Subject: [PATCH] applied patch 427695 (initialize m_nPush) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/event/event.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.45.2