From: Chris Elliott Date: Tue, 20 Apr 2004 19:11:40 +0000 (+0000) Subject: fix bug compiling with DMC Borland gcc (macos); reverting part of 1.09 to 1.10 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2cbf0a5e43b372fad030043d8a1d995f13d9818e fix bug compiling with DMC Borland gcc (macos); reverting part of 1.09 to 1.10 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fldlgcmn.cpp b/src/common/fldlgcmn.cpp index 01e9facb94..6003bc9449 100644 --- a/src/common/fldlgcmn.cpp +++ b/src/common/fldlgcmn.cpp @@ -48,7 +48,10 @@ wxFileDialogBase::wxFileDialogBase(wxWindow *parent, m_message = message; m_dir = defaultDir; m_fileName = defaultFile; - if (wildCard.IsEmpty()) m_wildCard = wxFileSelectorDefaultWildcardStr; + if (wildCard.IsEmpty()) + m_wildCard = wxFileSelectorDefaultWildcardStr; + else + m_wildCard = wildCard ; m_dialogStyle = style; m_path = wxT(""); m_filterIndex = 0;