]> git.saurik.com Git - wxWidgets.git/commit - src/generic/toolbkg.cpp
Avoid infinite recursion in wxToolbook::OnSize() under wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 28 Nov 2009 02:29:02 +0000 (02:29 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 28 Nov 2009 02:29:02 +0000 (02:29 +0000)
commit1c54c4ed04e221024135f2b41417f144634eca8a
treee0eba2bb3a82a4049157c73abc57e475ecc0c4f3
parentd395f181b3980e2232c00dae89b949c58be1cf53
Avoid infinite recursion in wxToolbook::OnSize() under wxMSW.

Reset m_needsRealizing flag before calling wxToolBar::Realize() as doing this
can result in another call to wxToolbook::OnSize() itself.

Closes #11942.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/toolbkg.cpp