compilation fix for wxUSE_PALETTE == 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-02-14 13:50:10 +00:00
parent 071e5fd9e8
commit e3b7670bbe

View File

@@ -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)