summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-05-20 20:39:05 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-05-20 20:39:05 (GMT)
commit17d6f9e17062d0ddf392823ba51e92f31ebdf7d5 (patch)
tree7fc88d8207bce024ea8fbbb3bdd84445b889bcb9
parentd53bf33ddac585fc92a0abb4164d1debbcb8b325 (diff)
downloadCMake-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.cpp6
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;
}