wxWidgets/include/wx
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
..
generic Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent 2002-09-05 19:50:41 +00:00
gtk fix wxCheckListBox which was completely broken by the Unicode changes 2002-09-04 13:45:39 +00:00
gtk1 fix wxCheckListBox which was completely broken by the Unicode changes 2002-09-04 13:45:39 +00:00
html disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
mac avoid warning for duplicate defined wxEntry when compiling with the Apple 2002-09-02 19:17:52 +00:00
mgl disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
motif wxChoice derives from wxChoiceBase; renamed Append to DoAppend 2002-08-24 10:54:15 +00:00
msw Changed char* to wxChar* 2002-09-03 11:22:56 +00:00
os2 More OS/2 update to fix some owner drawn things 2002-09-03 22:26:53 +00:00
protocol disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
stc Changed FindTExt intercase to more easily handle additional flags. 2002-06-04 19:25:29 +00:00
univ IsSingleLine() is now in the base class 2002-07-23 21:59:40 +00:00
unix disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
x11 Renamed internal GetClientWindow to GetClientAreaWindow so 2002-08-02 08:31:59 +00:00
xrc fixes to newly added i18n code in XRC - don't use it if wxXRC_USE_LOCALE isn't used 2002-09-01 17:11:38 +00:00
.cvsignore
accel.h implemented explicit copy constructor and assignement operator 2002-05-07 20:40:04 +00:00
app.h fix wxBase apps compilation after ProcessIdle() change from the patch 588734 2002-09-04 11:45:06 +00:00
arrimpl.cpp corrected warnings when compiling with -Wall -W 2002-05-07 21:58:27 +00:00
artprov.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
bitmap.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
bmpbuttn.h corrected warnings when compiling with -Wall -W 2002-05-07 21:58:27 +00:00
brush.h
buffer.h use wxWcslen() instead of wcslen() which isn't always available in wxWCharBuffer; do accept NULL in wx[W]CharBuffer ctor as the code elsewhere uses this 2002-08-25 17:14:51 +00:00
build.h added wxBuildOptions and check that they are the same for the program and the library on startup 2002-05-07 19:56:43 +00:00
busyinfo.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
button.h updated the comment about the flags meaning 2002-09-02 15:18:25 +00:00
calctrl.h
caret.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
checkbox.h
checklst.h
chkconf.h wxMGL requires wxUSE_PALETTE 2002-06-07 17:56:53 +00:00
choicdlg.h
choice.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
clipbrd.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
clntdata.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cmdline.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cmdproc.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cmndata.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
colordlg.h uses native implementation for mac 2002-04-24 19:53:23 +00:00
colour.h
combobox.h
confbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
config.h
containr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
control.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cshelp.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
ctrlsub.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
cursor.h
dataobj.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
date.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
datetime.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
datetime.inl
datstrm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
db.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dbgrid.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dbkeyg.h
dbtable.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dc.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dcbuffer.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dcclient.h
dcmemory.h
dcprint.h
dcps.h
dcscreen.h
dcsvg.h wxSVGDC class include files 2002-06-19 09:17:46 +00:00
dde.h
debug.h move code from .h to .cpp to prevent Borland warning 2002-09-04 12:24:45 +00:00
defs.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dialog.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dialup.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dir.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dirctrl.h
dirdlg.h added missing include file 2002-05-04 13:17:36 +00:00
display.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dnd.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
docmdi.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
docview.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dragimag.h
dynarray.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dynlib.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
dynload.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
effects.h Added some accessors for wxEffects 2002-09-05 19:37:25 +00:00
encconv.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
event.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
evtloop.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
expr.h
fdrepdlg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
features.h
ffile.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
file.h compilation fix for wxUSE_WCHAR_T=0 2002-09-04 22:17:09 +00:00
fileconf.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
filedlg.h
filefn.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
filename.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
filesys.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
font.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fontdlg.h fixes to wxFontDialog after recent changes 2002-05-12 22:26:01 +00:00
fontenc.h Lots of work to set PangoFontDescription as the 2002-08-06 16:41:31 +00:00
fontenum.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fontmap.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fontutil.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
frame.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fs_inet.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fs_mem.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
fs_zip.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
gauge.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
gdicmn.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
gdiobj.h
geometry.h corrected code for doubles 2002-09-05 12:42:16 +00:00
gifdecod.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
glcanvas.h
grid.h
gsocket.h Patch [ 588837 ] Fixes comment style in gsocket.* 2002-07-31 20:44:31 +00:00
hash.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
hashmap.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
help.h
helpbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
helphtml.h
helpwin.h
icon.h
iconbndl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagbmp.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
image.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imaggif.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagiff.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagjpeg.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imaglist.h Added wxListCtrl to derive from wxGenericListCtrl, 2002-07-22 23:03:03 +00:00
imagpcx.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagpng.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagpnm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagtiff.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
imagxpm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
intl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
ioswrap.h
ipc.h
ipcbase.h Changed char* to wxChar* 2002-09-03 11:22:56 +00:00
isql.h HWND already typedef'ed when compiling with EMX (OS/2). 2002-08-25 18:25:21 +00:00
isqlext.h
joystick.h
layout.h include the header needed to compile this file 2002-09-02 18:10:39 +00:00
laywin.h
list.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
listbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
listbox.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
listimpl.cpp
log.h Added (and documented) GetTraceMasks so userspace can probe the currently 2002-09-04 09:35:13 +00:00
longlong.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
matrix.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
mdi.h Applied patch [ 597398 ] Generic MDI, wxNotebook based. 2002-08-20 09:09:55 +00:00
memconf.h
memory.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
memtext.h corrected warnings when compiling with -Wall -W 2002-05-07 21:58:27 +00:00
menu.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
menuitem.h
metafile.h
mimetype.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
minifram.h
module.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
msgdlg.h
msgout.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
mstream.h
notebook.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
object.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
odbc.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
ownerdrw.h disable use of #pragma interface under Mac OS X 2002-09-02 19:15:40 +00:00
palette.h
panel.h
paper.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
pen.h
platform.h added wxCHECK_GCC_VERSION() macro 2002-08-24 21:28:48 +00:00
popupwin.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
print.h
printdlg.h made printing to PS possible under wxMGL 2002-07-15 22:55:14 +00:00
prntbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
process.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
progdlg.h
prop.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
propform.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
proplist.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
ptr_scpd.h Applied patch [ 587450 ] Scoped Smart pointers and docs 2002-08-08 09:57:05 +00:00
quantize.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
radiobox.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
radiobut.h
regex.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
region.h
resource.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
sashwin.h
sckaddr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
sckipc.h Changed char* to wxChar* 2002-09-03 11:22:56 +00:00
sckstrm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
scrolbar.h
scrolwin.h added ViewStart() as synonym for GetViewStart() in WXWIN_COMPATIBILITY_2_2 mode 2002-06-18 12:47:40 +00:00
settings.h Cosmetic changes to wxSS::GetScreen: 2002-05-19 22:44:27 +00:00
setup_redirect.h
sizer.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
slider.h
snglinst.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
socket.h Missing #include 2002-09-04 16:42:53 +00:00
spawnbrowser.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
spinbutt.h
spinctrl.h another part of SetSelection() change I forgot to commit 2002-09-01 20:24:25 +00:00
splash.h
splitter.h
stack.h
statbmp.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
statbox.h
statline.h
stattext.h
statusbr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
strconv.h compilation fix for wxUSE_WCHAR_T=0 2002-09-04 22:17:09 +00:00
stream.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
string.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
sysopt.h
tab.h
tabctrl.h
taskbar.h
tbarbase.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
tbarsmpl.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
textbuf.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
textctrl.h Applied patch [ 603858 ] wxTextCtrl text alignment patch 2002-09-05 16:15:30 +00:00
textdlg.h
textfile.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
tglbtn.h
thread.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
thrimpl.cpp wxMutex changes (explicitly specify the type), return values for all wxMutex/wxSemaphore/wxCondition methods and general cleanup 2002-06-06 18:31:59 +00:00
time.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
tipdlg.h Applied patch [ 600500 ] Tip-of-day: comments, translatable 2002-08-31 12:08:02 +00:00
tipwin.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
tokenzr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
toolbar.h
tooltip.h
toplevel.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
treebase.h Applied patch [ 605189 ] add edit cancel notify to wxTreeEvent 2002-09-05 19:50:41 +00:00
treectrl.h
treelay.h
txtstrm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
types.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
url.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
utils.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
valgen.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
validate.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
valtext.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
variant.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
vector.h
version.h
vms_x_fix.h
volume.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
wave.h
wfstream.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
window.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
wizard.h my previous backwards compatible fix wasn't really very compatible 2002-08-27 15:37:54 +00:00
wx_cw_cm.h opaque toolbox structs under Classic break access to contrlDefProc 2002-08-24 06:55:46 +00:00
wx_cw_d.h
wx_cw.h
wx_cwc_d.h
wx_cwc.h
wx_cwu_d.h
wx.h
wxchar.h Added #include <ctype.h> since it seems to have 2002-09-05 14:56:34 +00:00
wxexpr.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
wxhtml.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
wxprec.h applied patch to build wxMSW with CW7 (patch 550445) 2002-05-09 22:34:44 +00:00
wxshlb_cw_d.h
wxshlb_cw.h
wxshlb_cwc_d.h
wxshlb_cwc.h
wxshlba_cw_d.h
wxshlba_cw.h
wxshlba_cwc_d.h
wxshlba_cwc.h
xpmdecod.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
xpmhand.h Added error directive for MSW since no longer needed. 2002-08-07 20:21:26 +00:00
zipstrm.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00
zstream.h disable use of #pragma interface under Mac OS X 2002-08-31 11:29:13 +00:00