From: Robert Roebling Date: Fri, 27 Oct 2006 08:50:25 +0000 (+0000) Subject: Don't overwrite wxFD_ styles in m_windowStyle. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6a305cfbc85bedfc59ccb1b6b9619f4aeb790b31?hp=45f4109c41d3b02d448559f33682be709f02bb61 Don't overwrite wxFD_ styles in m_windowStyle. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index c0e8a6ba18..2f493b2e32 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -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;