]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/filedlgg.h
compilation fixes for wxGTK1 after wxTextEntry changes (unit test still fails, Replac...
[wxWidgets.git] / include / wx / generic / filedlgg.h
index 661d7f88b744cdaddd2abec18d2e8fec87071363..f9dc8267abd2f47d9c3cb272939fb193807f9f20 100644 (file)
@@ -83,13 +83,14 @@ public:
     void OnNew( wxCommandEvent &event );
     void OnFileActivated( wxFileCtrlEvent &event);
 
-    virtual void UpdateControls();
-
 private:
-    // Don't use this implementation at all :-)
+    // if true, don't use this implementation at all
     bool m_bypassGenericImpl;
 
 protected:
+    // update the state of m_upDirButton and m_newDirButton depending on the
+    // currently selected directory
+    void OnUpdateButtonsUI(wxUpdateUIEvent& event);
 
     wxString               m_filterExtension;
     wxGenericFileCtrl     *m_filectrl;
@@ -98,6 +99,7 @@ protected:
 
 private:
     void Init();
+
     DECLARE_DYNAMIC_CLASS(wxGenericFileDialog)
     DECLARE_EVENT_TABLE()