Mercurial > dwindows
comparison win/dw.c @ 339:4482dd0bb87d
Minor fix.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 10 Apr 2003 12:37:28 +0000 |
parents | e9a424e641ff |
children | 503d1ac958bb |
comparison
equal
deleted
inserted
replaced
338:44e2bdacd8f3 | 339:4482dd0bb87d |
---|---|
3519 * handle: Handle to widget for which to change. | 3519 * handle: Handle to widget for which to change. |
3520 * cursortype: ID of the pointer you want. | 3520 * cursortype: ID of the pointer you want. |
3521 */ | 3521 */ |
3522 void API dw_window_pointer(HWND handle, int pointertype) | 3522 void API dw_window_pointer(HWND handle, int pointertype) |
3523 { | 3523 { |
3524 SetCursor(pointer < 65536 ? LoadCursor(NULL, MAKEINTRESOURCE(pointertype)) (HCURSOR)pointertype); | 3524 SetCursor(pointertype < 65536 ? LoadCursor(NULL, MAKEINTRESOURCE(pointertype)) : (HCURSOR)pointertype); |
3525 } | 3525 } |
3526 | 3526 |
3527 /* | 3527 /* |
3528 * Create a new Window Frame. | 3528 * Create a new Window Frame. |
3529 * Parameters: | 3529 * Parameters: |