Commit 68e2c174 authored by Sam Lantinga's avatar Sam Lantinga

Use the default arrow cursor until we implement the cursor API

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403542
parent db32da3f
...@@ -524,15 +524,18 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) ...@@ -524,15 +524,18 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_SETCURSOR: case WM_SETCURSOR:
{ {
/* Uint16 hittest;
Uint16 hittest;
hittest = LOWORD(lParam);
hittest = LOWORD(lParam); if (hittest == HTCLIENT) {
if (hittest == HTCLIENT) { /* FIXME: Implement the cursor API */
SetCursor(SDL_hcursor); static HCURSOR cursor;
return (TRUE); if (!cursor) {
} cursor = LoadCursor(NULL, IDC_ARROW);
*/ }
SetCursor(cursor);
return (TRUE);
}
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment