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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user