X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6703082ef036da3e3043e25f3f439bbc6208c65f..106844da7dd52e6423060f6ed08260f0ec896b31:/src/msw/dibutils.cpp diff --git a/src/msw/dibutils.cpp b/src/msw/dibutils.cpp index 67b1c0569a..9f3051b408 100644 --- a/src/msw/dibutils.cpp +++ b/src/msw/dibutils.cpp @@ -32,10 +32,6 @@ #include "wx/msw/dibutils.h" -#ifdef __WXWINE__ - #include -#endif - #if defined(__WIN32__) #if !defined(__MWERKS__) && !defined(__SALFORDC__) #include // for _fmemcpy() @@ -113,11 +109,7 @@ void wxClearSystemPalette(void) } // *** Create, select, realize, deselect, and delete the palette -#ifdef __WXWINE__ - ScreenDC = GetDC((HWND)NULL); -#else ScreenDC = GetDC(NULL); -#endif ScreenPalette = CreatePalette((LOGPALETTE *)&Palette); if (ScreenPalette) @@ -128,11 +120,7 @@ void wxClearSystemPalette(void) bOK = DeleteObject(ScreenPalette); } -#ifdef __WXWINE__ - nOK = ReleaseDC((HWND)NULL, ScreenDC); -#else nOK = ReleaseDC(NULL, ScreenDC); -#endif return; }