]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/dirctrl.h
Recognize VC12 (a.k.a. MSVS 2013) and define __VISUALC12__ for it.
[wxWidgets.git] / interface / wx / dirctrl.h
index c694b9718ae0e008670ee8347de633266d14b22b..d2cdad556f7023837bf0a85bb0aaca36a34100e9 100644 (file)
@@ -51,12 +51,15 @@ enum
     @library{wxcore}
     @category{ctrl}
     @appearance{genericdirctrl}
-    @event{EVT_DIRCTRL_CHANGED(id, func)}
+    @event{EVT_DIRCTRL_SELECTIONCHANGED(id, func)}
           Selected directory has changed.
-          Processes a @c wxEVT_DIRCTRL_CHANGED event type.
+          Processes a @c wxEVT_DIRCTRL_SELECTIONCHANGED event type.
           Notice that this event is generated even for the changes done by the
           program itself and not only those done by the user.
           @since 2.9.5
+    @event{EVT_DIRCTRL_FILEACTIVATED(id, func)}
+          The user activated a file by double-clicking or pressing Enter.
+          @since 2.9.5
 */
 class wxGenericDirCtrl : public wxControl
 {
@@ -277,3 +280,6 @@ public:
     //// Operations
     void FillFilterList(const wxString& filter, int defaultFilter);
 };
+
+wxEventType wxEVT_DIRCTRL_SELECTIONCHANGED;
+wxEventType wxEVT_DIRCTRL_FILEACTIVATED;