comparison src/video/wincommon/SDL_lowvideo.h @ 1523:21b1fbb53f4a

(patch tweaked a bit) Date: Tue, 14 Mar 2006 03:30:11 +0000 From: Peter Mulholland Subject: [SDL] Windows MessageBox() strangeness fixes Hello all, I *think* this should fix the issues that people were seeing with MessageBox() not working and therefore assert() on mingw/msvc. Forgive me if i've screwed up making the diff file - I'm a total newb when it comes to things like CVS and diff. It modifies a few files as I saw that FlushMessageQueue() was in both the windx5 and windib driver, so I moved this into wincommon. It was also in the gapi driver, so I changed that too. The function is now WIN_FlushMessageQueue() in src/video/wincommon/SDL_syswm.c
author Sam Lantinga <slouken@libsdl.org>
date Tue, 14 Mar 2006 04:00:03 +0000
parents deb22b9fe970
children e49147870aac c121d94672cb 42578e98a295
comparison
equal deleted inserted replaced
1522:1078552c83a0 1523:21b1fbb53f4a
77 extern BOOL SDL_windowid; 77 extern BOOL SDL_windowid;
78 78
79 /* Variables and functions exported to other parts of the native video 79 /* Variables and functions exported to other parts of the native video
80 subsystem (SDL_sysevents.c) 80 subsystem (SDL_sysevents.c)
81 */ 81 */
82 extern void WIN_FlushMessageQueue();
83
82 /* Called by windows message loop when system palette is available */ 84 /* Called by windows message loop when system palette is available */
83 extern void (*WIN_RealizePalette)(_THIS); 85 extern void (*WIN_RealizePalette)(_THIS);
84 86
85 /* Called by windows message loop when the system palette changes */ 87 /* Called by windows message loop when the system palette changes */
86 extern void (*WIN_PaletteChanged)(_THIS, HWND window); 88 extern void (*WIN_PaletteChanged)(_THIS, HWND window);