]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/dialogs.cpp
Moved the popup menu event handlers to dialog event handler
[wxWidgets.git] / demos / life / dialogs.cpp
index 98b1cc21b6b88d8df22e409df4cbf5f43ebc35e2..635aa75da1bea83d5f1ac29a0aedaf7a4c9b0b56 100644 (file)
@@ -40,7 +40,7 @@
 // resources
 // --------------------------------------------------------------------------
 
 // resources
 // --------------------------------------------------------------------------
 
-#if defined(__WXGTK__) || defined(__WXMOTIF__)
+#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__)
     // logo for the about dialog
     #include "bitmaps/life.xpm"
 #endif
     // logo for the about dialog
     #include "bitmaps/life.xpm"
 #endif
@@ -172,7 +172,7 @@ LifeAboutDialog::LifeAboutDialog(wxWindow *parent)
 {
     // logo
     wxBitmap bmp = wxBITMAP(life);
 {
     // 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);
     bmp.SetMask(new wxMask(bmp, *wxBLUE));
 #endif
     wxStaticBitmap *sbmp = new wxStaticBitmap(this, -1, bmp);