From a99c96b0ffb9d689a249ac2eb968c8c0b8c16dea Mon Sep 17 00:00:00 2001 From: Gilles Depeyrot Date: Sun, 12 Aug 2001 15:39:20 +0000 Subject: [PATCH] bitmap mask corrections for Mac OS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/life/dialogs.cpp | 2 +- demos/life/life.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.45.2