Move the wxFD_... flags back into m_windowStyle
as requested. Add the list if flags, with which the wxFD_ flags have to cooperate into the header of wxFileDialog. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -54,11 +54,11 @@ bool wxFileDialogBase::Create(wxWindow *parent,
|
||||
m_wildCard = wildCard;
|
||||
|
||||
m_parent = parent;
|
||||
m_fdStyle = style;
|
||||
m_windowStyle = style;
|
||||
m_filterIndex = 0;
|
||||
|
||||
if (!HasFdFlag(wxFD_OPEN) && !HasFdFlag(wxFD_SAVE))
|
||||
m_fdStyle |= wxFD_OPEN; // wxFD_OPEN is the default
|
||||
m_windowStyle |= wxFD_OPEN; // wxFD_OPEN is the default
|
||||
|
||||
// check that the styles are not contradictory
|
||||
wxASSERT_MSG( !(HasFdFlag(wxFD_SAVE) && HasFdFlag(wxFD_OPEN)),
|
||||
|
Reference in New Issue
Block a user