Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_sysevents.c @ 1472:4aac8563c296
Fixed more Win64 portability issues
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 06 Mar 2006 08:11:10 +0000 |
parents | 8dfa9a6d69a5 |
children | 0a2bd6507477 |
comparison
equal
deleted
inserted
replaced
1471:9fb0eee04dd9 | 1472:4aac8563c296 |
---|---|
560 /* DJM - according to the docs for GetMenu(), the | 560 /* DJM - according to the docs for GetMenu(), the |
561 return value is undefined if hwnd is a child window. | 561 return value is undefined if hwnd is a child window. |
562 Aparently it's too difficult for MS to check | 562 Aparently it's too difficult for MS to check |
563 inside their function, so I have to do it here. | 563 inside their function, so I have to do it here. |
564 */ | 564 */ |
565 style = GetWindowLong(hwnd, GWL_STYLE); | 565 style = GetWindowLongPtr(hwnd, GWL_STYLE); |
566 AdjustWindowRect( | 566 AdjustWindowRect( |
567 &size, | 567 &size, |
568 style, | 568 style, |
569 style & WS_CHILDWINDOW ? FALSE | 569 style & WS_CHILDWINDOW ? FALSE |
570 : GetMenu(hwnd) != NULL); | 570 : GetMenu(hwnd) != NULL); |