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
This commit is contained in:
Vadim Zeitlin
2000-02-25 23:57:21 +00:00
parent bfbd6dc192
commit d147774515

View File

@@ -531,7 +531,7 @@ long wxDialog::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
// we want to override the busy cursor for modal dialogs: // we want to override the busy cursor for modal dialogs:
// typically, wxBeginBusyCursor() is called and then a modal dialog // typically, wxBeginBusyCursor() is called and then a modal dialog
// is shown, but the modal dialog shouldn't have hourglass cursor // 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) // set our cursor for all windows (but see below)
wxCursor cursor = m_cursor; wxCursor cursor = m_cursor;