Added wxEVT_COMMAND_DIRCTRL_CHANGED for wxDirCtrl selection changes.

This makes it much simpler to react to the changes in the control, update the
sample to show it.

Closes #14792.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-11-01 17:15:08 +00:00
parent 0d6f66f45c
commit 84605707d1
5 changed files with 47 additions and 0 deletions

View File

@@ -47,6 +47,12 @@ enum
@library{wxcore}
@category{ctrl}
@appearance{genericdirctrl.png}
@event{EVT_DIRCTRL_CHANGED(id, func)}
Selected directory has changed.
Processes a @c wxEVT_COMMAND_DIRCTRL_CHANGED 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
*/
class wxGenericDirCtrl : public wxControl
{