// Name: dirctrl.h
// Purpose: interface of wxGenericDirCtrl
// Author: wxWidgets team
-// RCS-ID: $Id$
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@library{wxcore}
@category{ctrl}
@appearance{genericdirctrl}
- @event{EVT_DIRCTRL_CHANGED(id, func)}
+
+ @beginEventEmissionTable
+ @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
+ Available since wxWidgets 2.9.5.
+ @event{EVT_DIRCTRL_FILEACTIVATED(id, func)}
+ The user activated a file by double-clicking or pressing Enter.
+ Available since wxWidgets 2.9.5.
+ @endEventTable
*/
class wxGenericDirCtrl : public wxControl
{
void FillFilterList(const wxString& filter, int defaultFilter);
};
-wxEventType wxEVT_DIRCTRL_CHANGED;
+wxEventType wxEVT_DIRCTRL_SELECTIONCHANGED;
+wxEventType wxEVT_DIRCTRL_FILEACTIVATED;