]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/dirdlg.h
fix the bug which prevented the same wxFile/DirDialog object from being used twice...
[wxWidgets.git] / include / wx / cocoa / dirdlg.h
index a850bafa2d0df7724694fb5490f1eed9e5d23300..b221050d99bdc9a6e0f056b446a9cf025f2f7e27 100644 (file)
@@ -19,7 +19,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
 // wxDirDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDirDialog: public wxDialog
+class WXDLLEXPORT wxDirDialog: public wxDirDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxDirDialog)
     DECLARE_NO_COPY_CLASS(wxDirDialog)
@@ -33,21 +33,14 @@ public:
                 const wxString& name = wxDirDialogNameStr);
     ~wxDirDialog();
 
-    wxString GetMessage() const { return m_message; }
-    wxString GetPath() const { return m_path; }
-    long GetStyle() const { return m_dialogStyle; }
-
     virtual int ShowModal();
     
     inline WX_NSSavePanel GetNSSavePanel()
     {   return (WX_NSSavePanel)m_cocoaNSWindow; }
 
 protected:
-    wxString    m_message;
-    long        m_dialogStyle;
     wxString    m_dir;
     wxWindow *  m_parent;
-    wxString    m_path;
     wxString    m_fileName;
 
 private: