- wxString GetMessage() const { return m_message; }
- wxString GetPath() const { return m_path; }
- wxString GetDirectory() const { return m_dir; }
- wxString GetFilename() const { return m_fileName; }
- wxString GetWildcard() const { return m_wildCard; }
- long GetStyle() const { return m_dialogStyle; }
- int GetFilterIndex() const { return m_filterIndex ; }
-
-protected:
-
- wxString m_message;
- long m_dialogStyle;
- wxWindow * m_parent;
- wxString m_dir;
- wxString m_path; // Full path
- wxString m_fileName;
- wxString m_wildCard;
- int m_filterIndex;
-};
+ virtual wxString GetPath() const;
+ virtual void GetPaths(wxArrayString& paths) const;
+ virtual wxString GetDirectory() const;
+ virtual wxString GetFilename() const;
+ virtual void GetFilenames(wxArrayString& files) const;
+ virtual int GetFilterIndex() const;
+
+ virtual void SetMessage(const wxString& message);
+ virtual void SetPath(const wxString& path);
+ virtual void SetDirectory(const wxString& dir);
+ virtual void SetFilename(const wxString& name);
+ virtual void SetWildcard(const wxString& wildCard);
+ virtual void SetFilterIndex(int filterIndex);