Fix some compilation warnings (mix code and declarations, breaks on gcc2). Fileselector: Fix the names of drives, which was one character too long, overwriting the scrollbar. Reworked the drive icons for black background (all skins)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1559 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -98,9 +98,11 @@ void AcceptDND(void)
|
||||
{
|
||||
#ifdef __WIN32__
|
||||
SDL_SysWMinfo wminfo;
|
||||
HWND hwnd;
|
||||
|
||||
SDL_VERSION(&wminfo.version);
|
||||
SDL_GetWMInfo(&wminfo);
|
||||
HWND hwnd = wminfo.window;
|
||||
hwnd = wminfo.window;
|
||||
DragAcceptFiles(hwnd,TRUE);
|
||||
SDL_EventState (SDL_SYSWMEVENT,SDL_ENABLE );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user