applied patch 427695 (initialize m_nPush)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 May 2001 13:21:16 +0000 (13:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 27 May 2001 13:21:16 +0000 (13:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/event/event.cpp

index 15895cf038e5d74ea30f93358b04c0f043f8cb3a..f158b8695b5a8ef321801b706890706f3c145b4f 100644 (file)
@@ -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;