]> 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:11:40 +0000 (19:11 +0000)
committerChris Elliott <biol75@york.ac.uk>
Tue, 20 Apr 2004 19:11:40 +0000 (19:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/fldlgcmn.cpp

index 01e9facb9495865958bcf35fdb8c2803f2e57df0..6003bc944991b7f88228c46560963a58232509bb 100644 (file)
@@ -48,7 +48,10 @@ wxFileDialogBase::wxFileDialogBase(wxWindow *parent,
     m_message = message;
     m_dir = defaultDir;
     m_fileName = defaultFile;
     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;
     m_dialogStyle = style;
     m_path = wxT("");
     m_filterIndex = 0;