]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fldlgcmn.cpp
Implemented the same simple API for creating customized
[wxWidgets.git] / src / common / fldlgcmn.cpp
index 307c1ffd8a6a78d2d58018561469bfa8384152e9..7607a2a3ed6356aa3c3b78bd7b54f85856e8994b 100644 (file)
@@ -19,6 +19,7 @@
 #if wxUSE_FILEDLG
 
 #include "wx/filedlg.h"
 #if wxUSE_FILEDLG
 
 #include "wx/filedlg.h"
+#include "wx/dirdlg.h"
 
 #ifndef WX_PRECOMP
     #include "wx/string.h"
 
 #ifndef WX_PRECOMP
     #include "wx/string.h"
@@ -101,18 +102,6 @@ bool wxFileDialogBase::Create(wxWindow *parent,
     return true;
 }
 
     return true;
 }
 
-#if WXWIN_COMPATIBILITY_2_4
-// Parses the filterStr, returning the number of filters.
-// Returns 0 if none or if there's a problem.
-// filterStr is in the form: "All files (*.*)|*.*|JPEG Files (*.jpeg)|*.jpg"
-int wxFileDialogBase::ParseWildcard(const wxString& filterStr,
-                                    wxArrayString& descriptions,
-                                    wxArrayString& filters)
-{
-    return ::wxParseCommonDialogsFilter(filterStr, descriptions, filters);
-}
-#endif // WXWIN_COMPATIBILITY_2_4
-
 #if WXWIN_COMPATIBILITY_2_6
 long wxFileDialogBase::GetStyle() const
 {
 #if WXWIN_COMPATIBILITY_2_6
 long wxFileDialogBase::GetStyle() const
 {