]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't overwrite wxFD_ styles in m_windowStyle.
authorRobert Roebling <robert@roebling.de>
Fri, 27 Oct 2006 08:50:25 +0000 (08:50 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 27 Oct 2006 08:50:25 +0000 (08:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/filedlgg.cpp

index c0e8a6ba1839be510588ac6100ee32590d366e45..2f493b2e322b56a54eb81a9e246623a360e83bea 100644 (file)
@@ -1006,7 +1006,7 @@ bool wxGenericFileDialog::Create( wxWindow *parent,
         return true;
 
     if (!wxDialog::Create( parent, wxID_ANY, message, pos, sz,
-                           wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER, name
+                           wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | style, name
                            ))
     {
         return false;