From 555d502fafd60eb3d448dfa6a5a6263d28119f31 Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Tue, 28 Aug 2001 18:50:12 +0000 Subject: [PATCH] removed leftover testing code in patch for wxComboBox and wxListBox that 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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 0e04f3effa..c27afabc23 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -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) -- 2.45.2