From efaa0436fbf19a51d16fcd13fe9a764ec1bfc6de Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Tue, 20 Apr 2004 19:04:50 +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@26884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fldlgcmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/fldlgcmn.cpp b/src/common/fldlgcmn.cpp index 5dfa9e516b..01e9facb94 100644 --- a/src/common/fldlgcmn.cpp +++ b/src/common/fldlgcmn.cpp @@ -48,7 +48,7 @@ wxFileDialogBase::wxFileDialogBase(wxWindow *parent, m_message = message; m_dir = defaultDir; m_fileName = defaultFile; - m_wildCard = wildCard.empty() ? wxFileSelectorDefaultWildcardStr : wildCard; + if (wildCard.IsEmpty()) m_wildCard = wxFileSelectorDefaultWildcardStr; m_dialogStyle = style; m_path = wxT(""); m_filterIndex = 0; -- 2.50.0