]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
small modification to stdin/stdout/stderr behaviour in wxExcute()
[wxWidgets.git] / src / gtk / frame.cpp
index 25e187d39b229270153ed26274029e08fadc9164..c314c3d28c50d2f49899654e33ded89fc0578799 100644 (file)
@@ -478,8 +478,8 @@ void wxFrame::OnInternalIdle()
 void wxFrame::OnCloseWindow( wxCloseEvent& event )
 {
     // close the window if it wasn't vetoed by the application
-    if ( !event.GetVeto() )
-        Destroy();
+//    if ( !event.GetVeto() ) // No, this isn't the interpretation of GetVeto.
+    Destroy();
 }
 
 void wxFrame::OnSize( wxSizeEvent &WXUNUSED(event) )