From: Vadim Zeitlin Date: Fri, 25 Aug 2006 13:23:47 +0000 (+0000) Subject: reset busy cursor checkbox when switching to another control X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fe24a9451e84346c541c781c5454cdcb1d6668fe 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 --- diff --git a/samples/widgets/widgets.cpp b/samples/widgets/widgets.cpp index 2c87c7d2f5..3e17c1ae5e 100644 --- a/samples/widgets/widgets.cpp +++ b/samples/widgets/widgets.cpp @@ -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() )