wxWidgets/include/wx/generic
Julian Smart dd23c25cde Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent
Benjamin I. Williams

Currently there is no way of receiving notification
that a user cancelled an edit operation on a wxTreeCtrl
tree node label.

This patch adds a method "IsEditCancelled" to the
wxTreeEvent class. During an EVT_TREE_END_LABEL_EDIT
event, the programmer can now determine whether or not
the edit operation was cancelled by the user (by
pressing <ESC>).

This patch provides this implementation for both
wxMSW's wxTreeCtrl and the wxGenericTreeCtrl. Both
situations have been tested and work well.

The patch is not very invasive, and is much smaller
than I had expected.

Please see the relevent discussion on the wx-dev list
for more details.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-05 19:50:41 +00:00
..
.cvsignore Just ignore CVS. It's better for you. 1999-06-07 19:41:37 +00:00
accel.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
calctrl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
caret.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
choicdgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
colrdlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dcpsg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dirctrlg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dirdlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dragimgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fdrepdlg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
filedlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fontdlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
grid.h Added some const qualifiers. 2002-09-01 15:27:26 +00:00
gridctrl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
gridg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
gridsel.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
helpext.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
helphtml.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imaglist.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
laywin.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
listctrl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
mdig.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
msgdlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
notebook.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
paletteg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
panelg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
printps.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
prntdlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
progdlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
sashwin.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
scrolwin.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
spinctlg.h SetSelection() for generic wxSpinCtrl (forgot to commit before) 2002-08-31 22:52:24 +00:00
splash.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
splitter.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
statline.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
statusbr.h generic status bar now: 2002-09-04 13:16:46 +00:00
tabg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
textdlgg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
timer.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
treectlg.h Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent 2002-09-05 19:50:41 +00:00
treelay.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
wizard.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00