+ wxGenericFileDialog() : wxFileDialogBase() { Init(); }
+
+ wxGenericFileDialog(wxWindow *parent,
+ const wxString& message = wxFileSelectorPromptStr,
+ const wxString& defaultDir = wxEmptyString,
+ const wxString& defaultFile = wxEmptyString,
+ const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
+ long style = wxFD_DEFAULT_STYLE,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& sz = wxDefaultSize,
+ const wxString& name = wxFileDialogNameStr,
+ bool bypassGenericImpl = false );
+
+ bool Create( wxWindow *parent,
+ const wxString& message = wxFileSelectorPromptStr,
+ const wxString& defaultDir = wxEmptyString,
+ const wxString& defaultFile = wxEmptyString,
+ const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
+ long style = wxFD_DEFAULT_STYLE,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& sz = wxDefaultSize,
+ const wxString& name = wxFileDialogNameStr,
+ bool bypassGenericImpl = false );
+
+ virtual ~wxGenericFileDialog();
+
+ virtual void SetMessage(const wxString& message) { SetTitle(message); }
+ virtual void SetPath(const wxString& path)
+ { m_filectrl->SetPath(path); }
+ virtual void SetFilterIndex(int filterIndex)
+ { m_filectrl->SetFilterIndex(filterIndex); }
+ virtual void SetWildcard(const wxString& wildCard)
+ { m_filectrl->SetWildcard(wildCard); }
+
+ virtual wxString GetPath() const
+ { return m_filectrl->GetPath(); }
+ virtual void GetPaths(wxArrayString& paths) const
+ { m_filectrl->GetPaths(paths); }
+ virtual wxString GetDirectory() const
+ { return m_filectrl->GetDirectory(); }
+ virtual wxString GetFilename() const
+ { return m_filectrl->GetFilename(); }
+ virtual void GetFilenames(wxArrayString& files) const
+ { m_filectrl->GetFilenames(files); }
+ virtual wxString GetWildcard() const
+ { return m_filectrl->GetWildcard(); }
+ virtual int GetFilterIndex() const
+ { return m_filectrl->GetFilterIndex(); }
+ virtual bool SupportsExtraControl() const { return true; }
+
+ // implementation only from now on
+ // -------------------------------
+
+ virtual int ShowModal();
+ virtual bool Show( bool show = true );