reset busy cursor checkbox when switching to another control

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-08-25 13:23:47 +00:00
parent 5478f2210d
commit fe24a9451e

View File

@ -636,6 +636,8 @@ void WidgetsFrame::OnPageChanged(WidgetsBookCtrlEvent& event)
if ( item )
item->Check();
GetMenuBar()->Check(Widgets_BusyCursor, false);
// lazy creation of the pages
WidgetsPage *page = CurrentPage();
if ( page->GetChildren().empty() )