From 17d6f9e17062d0ddf392823ba51e92f31ebdf7d5 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 20 May 2004 16:39:05 -0400 Subject: BUG: allow cursor to be changed by the OS --- Source/MFCDialog/CMakeSetupDialog.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- cgit v0.12