extracted common code into a single wxfileDialogBase class (patch 758901)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "wx/mimetype.h"
|
||||
#include "wx/image.h"
|
||||
#include "wx/choice.h"
|
||||
#include "wx/filedlg.h" // for wxFileDialogBase::ParseWildcard
|
||||
|
||||
#if wxUSE_STATLINE
|
||||
#include "wx/statline.h"
|
||||
@@ -101,9 +102,6 @@ extern bool wxIsDriveAvailable(const wxString& dirName);
|
||||
#undef GetFirstChild
|
||||
#endif
|
||||
|
||||
// declared in filedlg.h, defined in fldlgcmn.cpp
|
||||
extern int wxParseFileFilter(const wxString& filterStr, wxArrayString& descriptions, wxArrayString& filters);
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxGetAvailableDrives, for WINDOWS, DOS, WXPM, MAC, UNIX (returns "/")
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -1046,7 +1044,7 @@ bool wxGenericDirCtrl::ExtractWildcard(const wxString& filterStr, int n, wxStrin
|
||||
|
||||
int wxGenericDirCtrl::ParseFilter(const wxString& filterStr, wxArrayString& filters, wxArrayString& descriptions)
|
||||
{
|
||||
return wxParseFileFilter(filterStr, descriptions, filters );
|
||||
return wxFileDialogBase::ParseWildcard(filterStr, descriptions, filters );
|
||||
}
|
||||
|
||||
void wxGenericDirCtrl::DoResize()
|
||||
|
Reference in New Issue
Block a user