]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/event/event.cpp
fix for wxExecute(subprocess which produces a lot of output) bug
[wxWidgets.git] / 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;