From e3baecd7d6769f14e8c0d6747f8321f317c00096 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Mon, 8 Nov 1999 14:55:05 +0000 Subject: [PATCH] wxEndBusyCursor() was being called, even when it was not needed, causing a wxAssert in debug mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/db/listdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/db/listdb.cpp b/samples/db/listdb.cpp index a47e6a3875..675b9b97ba 100644 --- a/samples/db/listdb.cpp +++ b/samples/db/listdb.cpp @@ -406,7 +406,7 @@ void ClookUpDlg::OnClose(wxCloseEvent& event) if (lookup2) delete lookup2; - wxEndBusyCursor(); + while (wxIsBusy()) wxEndBusyCursor(); event.Skip(); // return TRUE;