]> git.saurik.com Git - wxWidgets.git/commitdiff
wxEndBusyCursor() was being called, even when it was not needed, causing a wxAssert...
authorGeorge Tasker <gtasker@allenbrook.com>
Mon, 8 Nov 1999 14:55:05 +0000 (14:55 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Mon, 8 Nov 1999 14:55:05 +0000 (14:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/db/listdb.cpp

index a47e6a38757f700e8043cbedc0502102b5bb0d9e..675b9b97ba350ad1dbc221771cce23ecb97f1f3b 100644 (file)
@@ -406,7 +406,7 @@ void ClookUpDlg::OnClose(wxCloseEvent& event)
        if (lookup2)
                delete lookup2;
 
-       wxEndBusyCursor();
+       while (wxIsBusy()) wxEndBusyCursor();
    event.Skip();
 
 //     return TRUE;