]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/dirdlgg.h
fixed array tests compilation and a bug in obj array test
[wxWidgets.git] / include / wx / generic / dirdlgg.h
index 278a1c6083f7f9b121426ef2f6d1563238c168eb..4996965dd36030cbbbf7ecccfaed95ca19ab32d2 100644 (file)
@@ -37,10 +37,10 @@ class WXDLLEXPORT wxGenericDirDialog: public wxDialog
 public:
     wxGenericDirDialog(): wxDialog() {}
     wxGenericDirDialog(wxWindow* parent, const wxString& title,
-                       const wxString& defaultPath = wxEmptyString, 
-                       long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER,
-                       const wxPoint& pos = wxDefaultPosition, 
-                       const wxSize& sz = wxSize(450, 550), 
+                       const wxString& defaultPath = wxEmptyString,
+                       long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxDD_NEW_DIR_BUTTON,
+                       const wxPoint& pos = wxDefaultPosition,
+                       const wxSize& sz = wxSize(450, 550),
                        const wxString& name = _T("dialog"));
 
     //// Accessors
@@ -64,6 +64,7 @@ protected:
     void OnTreeSelected(wxTreeEvent &event);
     void OnTreeKeyDown(wxTreeEvent &event);
     void OnNew(wxCommandEvent& event);
+    void OnGoHome(wxCommandEvent& event);
     void OnShowHidden(wxCommandEvent& event);
 
     wxString          m_message;
@@ -75,7 +76,7 @@ protected:
     DECLARE_EVENT_TABLE()
 };
 
-#if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXPM__)
+#if !defined(__WXMSW__) && !defined(__WXMAC__)
     #define wxDirDialog wxGenericDirDialog
 #endif