diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index 137b704dd5..995cde5df2 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -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__)