]> git.saurik.com Git - wxWidgets.git/commitdiff
Create dialog with the correct style.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:18:56 +0000 (19:18 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:18:56 +0000 (19:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialogs/dialogs.cpp

index 137b704dd52c3abb01906b9edf3cd49baf58a203..995cde5df236023a10d2e6897289fba2ed2889b6 100644 (file)
@@ -578,7 +578,7 @@ void MyFrame::DirChoose(wxCommandEvent& WXUNUSED(event) )
 
 void MyFrame::DirChooseNew(wxCommandEvent& WXUNUSED(event) )
 {
-    DoDirChoose(wxDD_NEW_DIR_BUTTON);
+    DoDirChoose(wxDD_DEFAULT_STYLE | wxDD_NEW_DIR_BUTTON);
 }
 
 #if defined(__WXMSW__) || defined(__WXMAC__)