X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..b771aa29dd34686cc92ef4675978b1fdc1a47a29:/demos/life/dialogs.cpp?ds=sidebyside diff --git a/demos/life/dialogs.cpp b/demos/life/dialogs.cpp index 98b1cc21b6..635aa75da1 100644 --- a/demos/life/dialogs.cpp +++ b/demos/life/dialogs.cpp @@ -40,7 +40,7 @@ // resources // -------------------------------------------------------------------------- -#if defined(__WXGTK__) || defined(__WXMOTIF__) +#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) // logo for the about dialog #include "bitmaps/life.xpm" #endif @@ -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);