20#include <wx/filedlg.h>
30 typedef void (*UserPaneCreatorFunction)(wxWindow *parent, wxUIntPtr userdata);
32 virtual bool HasUserPaneCreator()
const;
33 virtual void SetUserPaneCreator(UserPaneCreatorFunction creator, wxUIntPtr userdata);
38 void CreateUserPane(wxWindow *parent);
46#elif defined(__WXMAC__)
48#elif defined(__WXMSW__)
51#error Unknown implementation
71WX_WRAPPERS_API wxString
72FileSelector(
const wxString& message = wxFileSelectorPromptStr,
73 const wxString& default_path = wxEmptyString,
74 const wxString& default_filename = wxEmptyString,
75 const wxString& default_extension = wxEmptyString,
76 const wxString& wildcard = wxFileSelectorDefaultWildcardStr,
78 wxWindow *parent = NULL,
79 int x = wxDefaultCoord,
int y = wxDefaultCoord);
82WX_WRAPPERS_API wxString
84 const wxString& default_path = wxEmptyString,
85 const wxString& default_filename = wxEmptyString,
86 int *indexDefaultExtension = NULL,
87 const wxString& wildcard = wxFileSelectorDefaultWildcardStr,
89 wxWindow *parent = NULL,
90 int x = wxDefaultCoord,
int y = wxDefaultCoord);
WX_WRAPPERS_API wxString FileSelectorEx(const wxString &message=wxFileSelectorPromptStr, const wxString &default_path=wxEmptyString, const wxString &default_filename=wxEmptyString, int *indexDefaultExtension=NULL, const wxString &wildcard=wxFileSelectorDefaultWildcardStr, int flags=0, wxWindow *parent=NULL, int x=wxDefaultCoord, int y=wxDefaultCoord)
WX_WRAPPERS_API wxString FileSelector(const wxString &message=wxFileSelectorPromptStr, const wxString &default_path=wxEmptyString, const wxString &default_filename=wxEmptyString, const wxString &default_extension=wxEmptyString, const wxString &wildcard=wxFileSelectorDefaultWildcardStr, int flags=0, wxWindow *parent=NULL, int x=wxDefaultCoord, int y=wxDefaultCoord)
virtual void SetFileExtension(const wxString &extension)
UserPaneCreatorFunction m_creator
virtual ~FileDialogBase()
ProjectFileIOExtensionRegistry::Extension extension