]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
1. wxShell fixes: now really uses shell (it wasn't different from wxExecute!)
[wxWidgets.git] / src / msw / dialog.cpp
index 3463629b49dd4ebc5fcf3a271c3dad03f2175470..480836f8f956fb45f304dc200d55fbe54e58b58b 100644 (file)
@@ -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;