From 2cbf0a5e43b372fad030043d8a1d995f13d9818e Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Tue, 20 Apr 2004 19:11:40 +0000 Subject: [PATCH] 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 --- src/common/fldlgcmn.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.45.2