wxWidgets/include/wx/generic
Vadim Zeitlin be53b3fb20 Fix infinite recursion if wxGrid is modified from event handler
Calling wxGrid::{Insert,Delete}{Rows,Cols}() from wxEVT_GRID_CELL_CHANGE
event handler resulted in infinite recursion because it tried to hide
the grid editor control again, which resulted in another CELL_CHANGE
event being generated and so on.

Break this infinite recursion in the usual way, i.e. by updating the
state of wxGrid before invoking the user-defined event handler.

This required separating SaveEditControlValue() in 2 functions, the main
one retaining IsCellEditControlEnabled() check for compatibility, and
the new DoSaveEditControlValue() that can be called even after disabling
the editor.

Closes #2287.

Closes https://github.com/wxWidgets/wxWidgets/pull/1540
2019-09-12 00:53:21 +02:00
..
private Respect minimum grid column width when using native header too 2019-09-05 20:11:09 +02:00
aboutdlgg.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
accel.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
activityindicator.h Add wxActivityIndicator control. 2015-03-20 00:08:37 +01:00
animate.h use more wxOVERRIDE (#329) 2016-09-25 13:21:28 -07:00
bmpcbox.h Addition of overrides in diverse headers 2015-11-22 10:16:01 +01:00
busyinfo.h Allow updating wxBusyInfo text while it's shown 2019-09-08 23:13:00 +02:00
buttonbar.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
calctrlg.h Automatically determine the first weekday for a calendar control 2017-09-02 17:02:35 +03:00
caret.h
choicdgg.h Remove Windows CE support 2015-09-23 00:52:30 +02:00
clrpickerg.h Add wxEVT_COLOURPICKER_CURRENT_CHANGED and DIALOG_CANCELLED events 2019-04-21 01:53:14 +02:00
collheaderctrl.h Use DLL declarations consistently for wxCollapsibleHeaderCtrl 2015-09-23 00:52:42 +02:00
collpaneg.h Remove the separator static line in wxGenericCollapsiblePane 2018-05-12 19:10:28 +02:00
colour.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
colrdlgg.h Make wxColourData parameter of wxColourDialog ctor const 2019-07-16 20:19:33 +02:00
combo.h Fix TAB navigation with wxComboCtrl in non-MSW ports 2018-01-30 19:53:54 +01:00
ctrlsub.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
custombgwin.h Use Bind() instead of Connect() in wxWidgets code 2018-05-30 13:06:20 +02:00
dataview.h Use wxVector instead of wxList for wxDataViewCtrl columns storage 2018-12-15 14:43:47 +01:00
datectrl.h Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
dcpsg.h Fix build with wxUSE_PALETTE==0 2018-10-09 22:24:58 -07:00
dirctrlg.h Remove trailing whitespace from several files 2018-04-18 15:45:42 +02:00
dirdlgg.h Addition of missing overrides in dirdlgg.h and filedlgg.h 2015-11-22 09:54:05 +01:00
dragimgg.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dvrenderer.h Add wxDataViewValueAdjuster 2016-12-11 15:20:42 +01:00
dvrenderers.h Add wxDataViewToggleRenderer::ShowAsRadio() 2018-07-11 23:48:14 +02:00
fdrepdlg.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
filectrlg.h Resize name column in wxFileListCtrl to be as wide as possible 2016-12-27 17:23:00 +01:00
filedlgg.h Addition of missing overrides in dirdlgg.h and filedlgg.h 2015-11-22 09:54:05 +01:00
filepickerg.h more use of wxOVERRIDE 2015-09-06 17:20:42 -07:00
fontdlgg.h Tidy up wxGenericFontDialog code a little 2018-08-02 01:10:14 +02:00
fontpickerg.h use more wxOVERRIDE (#329) 2016-09-25 13:21:28 -07:00
fswatcher.h
grid.h Fix infinite recursion if wxGrid is modified from event handler 2019-09-12 00:53:21 +02:00
gridctrl.h Add support for editing dates (without time) to wxGrid 2019-01-04 14:14:01 +01:00
grideditors.h Add support for editing dates (without time) to wxGrid 2019-01-04 14:14:01 +01:00
gridsel.h Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
headerctrlg.h Fix erroneous header click event after double click 2019-09-04 11:41:28 -07:00
helpext.h more use of wxOVERRIDE 2015-09-06 17:20:42 -07:00
hyperlink.h use more wxOVERRIDE (#329) 2016-09-25 13:21:28 -07:00
icon.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
imaglist.h Always store wxBitmap objects in wxGenericImageList 2018-10-31 15:35:30 +01:00
infobar.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
laywin.h Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
listctrl.h Add wxListCtrl::IsVisible() 2019-08-05 13:46:15 +02:00
logg.h
mask.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
mdig.h Add missing wxUSE_MENUS checks to generic MDI classes 2019-08-28 20:11:23 +02:00
msgdlgg.h more use of wxOVERRIDE 2015-09-06 17:20:42 -07:00
notebook.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
notifmsg.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
numdlgg.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
paletteg.h more use of wxOVERRIDE 2015-09-06 17:20:42 -07:00
panelg.h
printps.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
prntdlgg.h more use of wxOVERRIDE 2015-09-06 17:20:42 -07:00
progdlgg.h Make other wxGenericProgressDialog methods virtual too 2017-11-16 01:35:52 +01:00
propdlg.h Add missing wxPropertySheetDialog methods and fix a typo. 2016-10-21 20:16:53 -07:00
region.h
richmsgdlgg.h more use of wxOVERRIDE 2015-09-06 17:20:42 -07:00
sashwin.h Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
scrolwin.h use more wxOVERRIDE (#329) 2016-09-25 13:21:28 -07:00
spinctlg.h Explicitly return Boolean value as declared 2018-11-10 20:56:24 +01:00
splash.h Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
splitter.h Addition of missing overrides to splitter.h 2015-11-22 09:45:35 +01:00
srchctlg.h Remove unnecessary wxSearchCtrl::DoMoveWindow() override 2018-07-09 17:54:09 +02:00
statbmpg.h Add wxStaticBitmap::SetScaleMode() to control bitmap display size 2016-01-20 18:55:14 +01:00
statline.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
stattextg.h Rename wxStaticText::Do[SG]etLabel() to WX[SG]etVisibleLabel() 2019-06-19 18:15:57 +02:00
statusbr.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
tabg.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
textdlgg.h Make wxWS_EX_VALIDATE_RECURSIVELY default (and only) behaviour 2016-02-09 23:38:23 +01:00
timectrl.h Resolve -Wsuggest-override warnings. 2017-02-24 23:37:44 +01:00
treectlg.h Make platform test slightly more readable 2019-06-29 20:49:47 +02:00
wizard.h Avoid using mismatched translations for wxWizard buttons 2018-10-30 23:45:12 +01:00