BUG: allow cursor to be changed by the OS

This commit is contained in:
Bill Hoffman 2004-05-20 16:39:05 -04:00
parent d53bf33dda
commit 17d6f9e170
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}