X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bfbd6dc1921a17bd880d580dd660e8bc478a9391..5d25c05039a7c6ebbddfe16d99234dc756e75356:/src/msw/dialog.cpp 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;