wxWidgets/include/wx/generic
Vadim Zeitlin 93f6e00d7b Destroy the in-place edit control in wxGenericListCtrl dtor.
If the in-place text control was still alive when wxGenericListCtrl was
destroyed, it resulted in asserts from wxWindow dtor about child windows still
being alive, so explicitly destroy it from wxListMainWindow dtor.

As this required a slightly different behaviour from wxListTextCtrlWrapper::
EndEdit(), replace its bool argument with an enum one which can take more than
2 values. Not using bool values when calling it also made the code more clear.

Finally, added a unit test verifying that the in-place control is indeed
destroyed correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-05 13:38:05 +00:00
..
private Destroy the in-place edit control in wxGenericListCtrl dtor. 2010-10-05 13:38:05 +00:00
aboutdlgg.h add parent parameter to wxAboutBox() (closes #9952) 2009-04-26 13:41:21 +00:00
accel.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
animate.h allow loading wxAnimationCtrl contents from stream (patch 1962344) 2008-05-17 22:51:52 +00:00
bmpcbox.h Ticket #9641: wxBitmapComboBox_SetFont.patch, making it public 2008-06-27 13:47:45 +00:00
busyinfo.h minor cleanup 2009-12-05 19:57:58 +00:00
buttonbar.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
calctrlg.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
caret.h Cleanup of previous fix 2008-08-22 11:32:23 +00:00
choicdgg.h Add initial selection parameter to wxGetSingleChoice() functions. 2010-03-21 11:06:31 +00:00
clrpickerg.h Compilo 2007-12-08 17:55:37 +00:00
collpaneg.h blind fix for wxMac 2009-02-01 20:59:03 +00:00
colour.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
colrdlgg.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
combo.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
ctrlsub.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dataview.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
datectrl.h removed wxDatePickerCtrlGeneric::SetFormat() which didn't exist but was declared and documented (closes #10988) 2009-07-19 16:49:29 +00:00
dcpsg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dirctrlg.h Compilation fix for wxUSE_FILECTRL && !(wxUSE_DIRDLG || wxUSE_FILEDLG). 2009-08-03 20:45:07 +00:00
dirdlgg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
dragimgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dvrenderer.h Fix activation handling in generic wxDataViewCtrl renderers. 2010-06-20 17:43:30 +00:00
dvrenderers.h Fix activation handling in generic wxDataViewCtrl renderers. 2010-06-20 17:43:30 +00:00
fdrepdlg.h just fix some $Id$ tokens 2009-01-11 11:58:34 +00:00
filectrlg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
filedlgg.h Make wxFileDialog::Set/SetPath() behave consistently. 2009-11-26 16:17:00 +00:00
filepickerg.h Initialize picker style in native GTK file/dir pickers. 2010-03-16 00:23:57 +00:00
fontdlgg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
fontpickerg.h wxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData in wxGenericColourButton where it was copied from) (patch 1883375) 2008-02-03 21:32:11 +00:00
fswatcher.h Merge SOC2009_FSWATCHER branch into trunk. 2009-10-22 11:35:43 +00:00
grid.h Add wxGrid::RefreshAttr() method to force attribute refresh. 2010-08-30 22:18:52 +00:00
gridctrl.h Add documentation for several grid cell renderer/editor classes. 2010-04-22 11:20:50 +00:00
grideditors.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
gridsel.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
headerctrlg.h Remove remaining bits of marker drawing during resizing 2009-06-12 16:15:35 +00:00
helpext.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
hyperlink.h Provide native wxHyperlinkCtrl implementation for wxMSW. 2010-08-17 16:55:32 +00:00
icon.h compilation fix after last change 2008-12-31 15:27:00 +00:00
imaglist.h minor cleanup 2009-12-05 19:57:58 +00:00
infobar.h Move wxInfoBar to core library from adv. 2010-05-05 12:20:08 +00:00
laywin.h Implement wx-prefixed macros versions of DECLARE_EVENT_TABLE, BEGIN_EVENT_TABLE* and END_EVENT_TABLE macros. 2010-06-09 14:28:08 +00:00
listctrl.h Account for largest item in wxGenericListCtrl::GetBestSize(). 2010-07-11 10:44:08 +00:00
logg.h Changed wxLog DoLogXXX() callbacks and introduced wxLogRecordInfo. 2009-07-08 13:47:33 +00:00
mask.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
mdig.h deprecate the old TryValidator/Parent() and replace them with the new and documented TryBefore/After() 2009-02-26 16:16:31 +00:00
msgdlgg.h Allow using custom labels for wxGenericMessageDialog buttons. 2010-08-30 21:48:21 +00:00
notebook.h use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667) 2008-08-01 13:46:46 +00:00
notifmsg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
numdlgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
paletteg.h Fix Ok/IsOk() mess in wxGDIObject-derived classes; also added 2007-12-15 17:54:20 +00:00
panelg.h Inherit notebook background recursively under wxMSW. 2010-08-10 21:48:17 +00:00
printps.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
prntdlgg.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
progdlgg.h Block in wxMSW wxProgressDialog::Update(max) until the dialog is dismissed. 2010-09-10 17:26:03 +00:00
propdlg.h Removed extraneous semicolons and commas (partly fixes #10456). 2009-02-01 04:48:19 +00:00
region.h Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric. 2009-02-07 23:20:45 +00:00
richmsgdlgg.h Compilation fix for non-PCH build in wxGenericRichMessageDialog code. 2010-08-19 00:06:12 +00:00
sashwin.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
scrolwin.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
spinctlg.h Fix compilation of wxSpinCtrlGenericBase when PCH are not used. 2010-07-22 13:42:38 +00:00
splash.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
splitter.h wxSplitterWindow mouse capture improvements and cleanup. 2009-08-05 17:25:27 +00:00
srchctlg.h remove SetValue() which is not needed and which definition was removed by the previous change 2009-03-02 14:49:55 +00:00
statbmpg.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
statline.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
stattextg.h Restore correct access to wxGenericStaticText::Set{Font,Label}. 2009-12-14 12:41:55 +00:00
statusbr.h Don't pop explicitly changed status messages. 2009-08-06 00:01:43 +00:00
tabg.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
textdlgg.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
treectlg.h Send generic wxTreeCtrl wxEVT_COMMAND_TREE_KEY_DOWN events from OnKeyDown rather than OnChar. This change means it sends events for the same keys as the wxMSW control. It also fixes the failing unit test. 2010-09-22 10:06:39 +00:00
wizard.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00