From: Julian Smart Date: Sun, 22 Dec 2002 11:03:31 +0000 (+0000) Subject: Applied patch [ 657445 ] Contrib FL lib doesn't build with wxUniv X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/45747ae371c696c897aecac025dc00442c351d5f Applied patch [ 657445 ] Contrib FL lib doesn't build with wxUniv git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/fl/newbmpbtn.cpp b/contrib/src/fl/newbmpbtn.cpp index 0659bea4ac..cec54de1b1 100644 --- a/contrib/src/fl/newbmpbtn.cpp +++ b/contrib/src/fl/newbmpbtn.cpp @@ -523,7 +523,7 @@ void wxNewBitmapButton::RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp, } destDc.SelectObject( wxNullBitmap ); -#ifdef __WXMSW__ +#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) // Map to system colours (void) wxToolBar::MapBitmap(destBmp->GetHBITMAP(), destBmp->GetWidth(), destBmp->GetHeight()); #endif