]> git.saurik.com Git - wxWidgets.git/commitdiff
Applied patch [ 657445 ] Contrib FL lib doesn't build with wxUniv
authorJulian Smart <julian@anthemion.co.uk>
Sun, 22 Dec 2002 11:03:31 +0000 (11:03 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 22 Dec 2002 11:03:31 +0000 (11:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/fl/newbmpbtn.cpp

index 0659bea4ac37d9a9e2d1e951e170bde398ab2d7e..cec54de1b11408cd427ab21b5fdbb138254a9248 100644 (file)
@@ -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