Add wxEVT_DIRCTRL_FILEACTIVATED wxDirCtrl event.

Allow processing double clicks on the files in the directory control.

Closes #15208.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-05-16 14:33:07 +00:00
parent 40c7c7f473
commit 4d623b67ee
5 changed files with 48 additions and 2 deletions

View File

@@ -57,6 +57,9 @@ enum
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
{
@@ -279,3 +282,4 @@ public:
};
wxEventType wxEVT_DIRCTRL_SELECTIONCHANGED;
wxEventType wxEVT_DIRCTRL_FILEACTIVATED;