]> git.saurik.com Git - wxWidgets.git/commitdiff
removed leftover testing code in patch for wxComboBox and wxListBox that
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 28 Aug 2001 18:50:12 +0000 (18:50 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 28 Aug 2001 18:50:12 +0000 (18:50 +0000)
only compiles with configured with --enable-debug

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index 0e04f3effa8f2fff49b7949efa04650cd8583571..c27afabc23b5a45e9a5a4d54cef31fa72aa3269d 100644 (file)
@@ -422,9 +422,6 @@ void MyFrame::FileOpen(wxCommandEvent& WXUNUSED(event) )
 // one will use it by default
 void MyFrame::FileOpen2(wxCommandEvent& WXUNUSED(event) )
 {
-    wxOnAssert( "Test assert.txt", 20, "Test" );
-    return;
-
     static wxString s_extDef;
     wxString path = wxFileSelector(
                                     _T("Select the file to load"),
@@ -639,7 +636,7 @@ void MyFrame::ShowReplaceDialog( wxCommandEvent& WXUNUSED(event) )
                                         "Find and replace dialog",
                                         wxFR_REPLACEDIALOG
                                       );
-    dialog->Show();
+    dialog->Show(TRUE);
 }
 
 void MyFrame::ShowFindDialog( wxCommandEvent& WXUNUSED(event) )
@@ -652,7 +649,7 @@ void MyFrame::ShowFindDialog( wxCommandEvent& WXUNUSED(event) )
                                         // just for testing
                                         wxFR_NOWHOLEWORD
                                       );
-    dialog->Show();
+    dialog->Show(TRUE);
 }
 
 static wxString DecodeFindDialogEventFlags(int flags)