]> git.saurik.com Git - wxWidgets.git/commitdiff
fix bug compiling with DMC Borland gcc (macos); reverting part of 1.09 to 1.10
authorChris Elliott <biol75@york.ac.uk>
Tue, 20 Apr 2004 19:04:50 +0000 (19:04 +0000)
committerChris Elliott <biol75@york.ac.uk>
Tue, 20 Apr 2004 19:04:50 +0000 (19:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fldlgcmn.cpp

index 5dfa9e516b5aa47c0098601c435ca4b724f4969c..01e9facb9495865958bcf35fdb8c2803f2e57df0 100644 (file)
@@ -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;