From d1477745151751c22989d22886893389d82e1deb Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 25 Feb 2000 23:57:21 +0000 Subject: [PATCH] only modal dialogs ignore busy cursor, not all dialogs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 3463629b49..480836f8f9 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -531,7 +531,7 @@ long wxDialog::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam) // we want to override the busy cursor for modal dialogs: // typically, wxBeginBusyCursor() is called and then a modal dialog // is shown, but the modal dialog shouldn't have hourglass cursor - if ( wxIsBusy() ) + if ( IsModalShowing() && wxIsBusy() ) { // set our cursor for all windows (but see below) wxCursor cursor = m_cursor; -- 2.50.0