diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-20 20:39:05 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-05-20 20:39:05 (GMT) |
commit | 17d6f9e17062d0ddf392823ba51e92f31ebdf7d5 (patch) | |
tree | 7fc88d8207bce024ea8fbbb3bdd84445b889bcb9 | |
parent | d53bf33ddac585fc92a0abb4164d1debbcb8b325 (diff) | |
download | CMake-17d6f9e17062d0ddf392823ba51e92f31ebdf7d5.zip CMake-17d6f9e17062d0ddf392823ba51e92f31ebdf7d5.tar.gz CMake-17d6f9e17062d0ddf392823ba51e92f31ebdf7d5.tar.bz2 |
BUG: allow cursor to be changed by the OS
-rw-r--r-- | Source/MFCDialog/CMakeSetupDialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/MFCDialog/CMakeSetupDialog.cpp b/Source/MFCDialog/CMakeSetupDialog.cpp index 8298144..e3c00e8 100644 --- a/Source/MFCDialog/CMakeSetupDialog.cpp +++ b/Source/MFCDialog/CMakeSetupDialog.cpp @@ -1454,6 +1454,10 @@ void CMakeSetupDialog::OnDropFiles(HDROP hDropInfo) 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; } |