X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1dd2d2f80bb28d68e12dedc1e68c47e9221b88cf..17d698cca55ec9a4eee46f85c87219859aa48a3c:/interface/wx/dirctrl.h?ds=sidebyside diff --git a/interface/wx/dirctrl.h b/interface/wx/dirctrl.h index 2583497d9c..9cb3d88f5e 100644 --- a/interface/wx/dirctrl.h +++ b/interface/wx/dirctrl.h @@ -2,7 +2,6 @@ // Name: dirctrl.h // Purpose: interface of wxGenericDirCtrl // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -51,12 +50,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 { @@ -278,4 +280,5 @@ public: void FillFilterList(const wxString& filter, int defaultFilter); }; -wxEventType wxEVT_DIRCTRL_CHANGED; +wxEventType wxEVT_DIRCTRL_SELECTIONCHANGED; +wxEventType wxEVT_DIRCTRL_FILEACTIVATED;