X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2d516f26095ca280536afa9867286f9244c7aef..6a0fab3a3ae4d9b7372a25e81faadeb842b9ba6f:/src/generic/splash.cpp diff --git a/src/generic/splash.cpp b/src/generic/splash.cpp index fd23f630b6..fa641bdf1e 100644 --- a/src/generic/splash.cpp +++ b/src/generic/splash.cpp @@ -111,7 +111,7 @@ wxSplashScreenWindow::wxSplashScreenWindow(const wxBitmap& bitmap, wxWindow* par { m_bitmap = bitmap; -#ifndef __WXGTK__ +#if !defined(__WXGTK__) && wxUSE_PALETTE bool hiColour = (wxDisplayDepth() >= 16) ; if (bitmap.GetPalette() && !hiColour)