Fix a win32.raw32 platform compile bug caused by the windows headers not being included

ugfx_release_2.7
inmarket 2016-12-12 19:58:46 +10:00
parent 43bcd7930b
commit 60b3fc0769
2 changed files with 3 additions and 3 deletions

View File

@ -451,8 +451,8 @@ typedef struct winPriv {
#endif
} winPriv;
void gfxEmulatorSetParentWindow(HWND hwnd) {
hWndParent = hwnd;
void gfxEmulatorSetParentWindow(void *hwnd) {
hWndParent = (HWND)hwnd;
}
#if GFX_USE_GINPUT && GINPUT_NEED_MOUSE

View File

@ -51,7 +51,7 @@
// Passing a NULL will reset window creation to creating top level windows.
// Note: In order to affect any static displays it must be called BEFORE gfxInit().
// Note: Creating a window under a parent causes the Mouse to be disabled by default (rather than enabled as for a top window)
void gfxEmulatorSetParentWindow(HWND hwnd);
void gfxEmulatorSetParentWindow(void *hwnd);
#if GINPUT_NEED_MOUSE
// This function allows you to inject mouse events into the ugfx mouse driver