]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.cpp
updates to taskbar sample to use events instead of virtuals and work under Unix
[wxWidgets.git] / 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__)