From: Gilles Depeyrot Date: Sun, 12 Aug 2001 15:39:20 +0000 (+0000) Subject: bitmap mask corrections for Mac OS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a99c96b0ffb9d689a249ac2eb968c8c0b8c16dea?hp=94e2ed3b8db0220160c0b939782cd46914ec073a bitmap mask corrections for Mac OS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/demos/life/dialogs.cpp b/demos/life/dialogs.cpp index 70e6a34716..635aa75da1 100644 --- a/demos/life/dialogs.cpp +++ b/demos/life/dialogs.cpp @@ -172,7 +172,7 @@ LifeAboutDialog::LifeAboutDialog(wxWindow *parent) { // logo wxBitmap bmp = wxBITMAP(life); -#if !defined(__WXGTK__) && !defined(__WXMOTIF__) +#if !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXMAC__) bmp.SetMask(new wxMask(bmp, *wxBLUE)); #endif wxStaticBitmap *sbmp = new wxStaticBitmap(this, -1, bmp); diff --git a/demos/life/life.cpp b/demos/life/life.cpp index 0043a399cc..b7df5569d7 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -602,7 +602,7 @@ LifeNavigator::LifeNavigator(wxWindow *parent) bmpe = wxBITMAP(east), bmps = wxBITMAP(south); -#if !defined(__WXGTK__) && !defined(__WXMOTIF__) +#if !defined(__WXGTK__) && !defined(__WXMOTIF__) && !defined(__WXMAC__) bmpn.SetMask(new wxMask(bmpn, *wxLIGHT_GREY)); bmpw.SetMask(new wxMask(bmpw, *wxLIGHT_GREY)); bmpc.SetMask(new wxMask(bmpc, *wxLIGHT_GREY));