X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b15fdfcf3511eefea1fb99f33d24291f4e53a34..ef2060faf3f863809f5a070f140077f89a1bc5f7:/demos/life/life.cpp diff --git a/demos/life/life.cpp b/demos/life/life.cpp index 0043a399cc..9a34cf3e7b 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -41,7 +41,7 @@ // resources // -------------------------------------------------------------------------- -#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) +#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) // application icon #include "mondrian.xpm" @@ -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));