Browse Source

BUG: allow cursor to be changed by the OS

Bill Hoffman 21 years ago
parent
commit
17d6f9e170
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Source/MFCDialog/CMakeSetupDialog.cpp

+ 5 - 1
Source/MFCDialog/CMakeSetupDialog.cpp

@@ -1454,6 +1454,10 @@ void CMakeSetupDialog::OnDropFiles(HDROP hDropInfo)
 
 
 BOOL CMakeSetupDialog::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) 
 BOOL CMakeSetupDialog::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) 
 {
 {
-   ::SetCursor(m_Cursor);
+  CDialog::OnSetCursor(pWnd, nHitTest, message);
+  if(m_Cursor == LoadCursor(NULL, IDC_WAIT))
+    {
+    ::SetCursor(m_Cursor);
+    }
    return true;
    return true;
 }
 }