wxWidgets/include/wx/univ
Vadim Zeitlin cdc588e4eb Don't resize the parent from wxToolBar::SetSize() in wxUniv
This could result in infinite recursion in wxX11, as the test for the
new size being different from the old one which was supposed to stop the
recursion, failed there in case the new size was 0: as wxX11 can't use 0
size for the window, the actual size was always different and so we kept
sending size events to the parent, which kept resizing the toolbar etc.

It could be argued that there is a bug in wxX11 and that GetSize() must
return the same value as was passed to SetSize(), even if it was 0, and
this might even be correct, in theory, but it doesn't seem worth to do
it just to accommodate this weird use case, especially because resizing
the parent from the child shouldn't be necessary in the first place and
none of wxToolBar implementations in the other ports does it.

So just remove this code completely.

Closes #18554.
2019-11-06 15:06:36 +01:00
..
anybutton.h
app.h
bmpbuttn.h
button.h
checkbox.h
checklst.h
chkconf.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
choice.h
colschem.h
combobox.h
control.h
custombgwin.h
dialog.h
frame.h
gauge.h
inpcons.h
inphand.h
listbox.h
menu.h
menuitem.h
notebook.h
panel.h
radiobox.h
radiobut.h
renderer.h
scrarrow.h Add wxUSE_SCROLLBAR guards in wxUniversal 2018-10-21 22:01:50 -04:00
scrolbar.h
scrthumb.h
scrtimer.h
setup0.h Remove wxUSE_WCHAR_T, it must always be 1 anyhow 2019-10-31 02:16:19 +01:00
setup_inc.h
slider.h
spinbutt.h
statbmp.h
statbox.h
statline.h
stattext.h Rename wxStaticText::Do[SG]etLabel() to WX[SG]etVisibleLabel() 2019-06-19 18:15:57 +02:00
statusbr.h
stdrend.h Globally replace vadim@wxwindows.org with vadim@wxwidgets.org 2019-04-22 14:12:05 +02:00
textctrl.h
tglbtn.h
theme.h
toolbar.h Don't resize the parent from wxToolBar::SetSize() in wxUniv 2019-11-06 15:06:36 +01:00
toplevel.h
window.h