X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b36de7d0ce8dc013057ad0bc27f5b20cf209f6c9..1b6f93fcfe211e81c77d7485c4c3786a846c84df:/src/msw/mslu.cpp diff --git a/src/msw/mslu.cpp b/src/msw/mslu.cpp index 6975dc0ded..be480f683f 100644 --- a/src/msw/mslu.cpp +++ b/src/msw/mslu.cpp @@ -46,10 +46,6 @@ #include #include -#ifdef __GNUWIN32__ - #include -#endif - #ifdef __VISUALC__ #include #endif @@ -76,7 +72,7 @@ WXDLLEXPORT int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc, if ( wxUsingUnicowsDll() ) { - return DrawStateA((HDC)dc, (HBRUSH)br, (DRAWSTATEPROC)outputFunc, + return DrawStateA((HDC)dc, (HBRUSH)br, (DRAWSTATEPROC)outputFunc, (LPARAM)(const char*) wxConvLocal.cWX2MB((const wxChar*)lData), wData, x, y, cx, cy, flags);