X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2d516f26095ca280536afa9867286f9244c7aef..8f71aafa07841d85a82ba70a39a15dfc22609295:/src/generic/splash.cpp?ds=inline 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)