]> git.saurik.com Git - wxWidgets.git/commit - src/aui/auibar.cpp
Use IsThisEnabled() to test if AUI child is enabled, not IsEnabled().
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Dec 2011 19:33:31 +0000 (19:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Dec 2011 19:33:31 +0000 (19:33 +0000)
commit03dc350fa6de6edfe3ad9de2b951b1e7eee4f9a6
tree7be6fdba89c7277c857f924642dcb99f8ac9ab78
parent35f92de30054e0db3ffc8f4abb3e6dcb541c4b2f
Use IsThisEnabled() to test if AUI child is enabled, not IsEnabled().

IsEnabled() returns false if the parent window is disabled and calling
Enable() does not help with this, so we could keep trying and trying to enable
the window unsuccessfully if it was reenabled while its parent was disabled,
resulting in a never-ending stream of EVT_IDLE events.

Closes #13767.

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