From 8768548b81804680ec029eeddc4eda5d2a0dd742 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sun, 30 Mar 2003 19:18:56 +0000 Subject: [PATCH] Create dialog with the correct style. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dialogs/dialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__)