From: Chris Elliott Date: Tue, 20 Apr 2004 19:04:50 +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/efaa0436fbf19a51d16fcd13fe9a764ec1bfc6de 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 --- 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;