]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/dialogs.cpp
added missing generic include file
[wxWidgets.git] / demos / life / dialogs.cpp
index 98b1cc21b6b88d8df22e409df4cbf5f43ebc35e2..635aa75da1bea83d5f1ac29a0aedaf7a4c9b0b56 100644 (file)
@@ -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);