Use the default arrow cursor until we implement the cursor API

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403542
This commit is contained in:
Sam Lantinga 2009-02-19 04:41:09 +00:00
parent db32da3f78
commit 68e2c17401

View file

@ -524,15 +524,18 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_SETCURSOR:
{
/*
Uint16 hittest;
Uint16 hittest;
hittest = LOWORD(lParam);
if (hittest == HTCLIENT) {
SetCursor(SDL_hcursor);
return (TRUE);
}
*/
hittest = LOWORD(lParam);
if (hittest == HTCLIENT) {
/* FIXME: Implement the cursor API */
static HCURSOR cursor;
if (!cursor) {
cursor = LoadCursor(NULL, IDC_ARROW);
}
SetCursor(cursor);
return (TRUE);
}
}
break;