X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b96340e6f457071d63196f877c6df0ea1cc2af04..3cc487d140f11e26a9c4ae35ba87cc22684da65a:/src/generic/splash.cpp?ds=inline diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index a407dd1653..54c8982dc9 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -116,9 +116,9 @@ static void wxDrawSplashBitmap(wxDC& dc, const wxBitmap& bitmap, int x, int y) { wxMemoryDC dcMem; +#ifndef __WXGTK__ bool hiColour = (wxDisplayDepth() >= 16) ; -#ifndef __WXGTK__ if (bitmap.GetPalette() && !hiColour) { dc.SetPalette(* bitmap.GetPalette());