X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9bc95da04ca5541783c9aead91769fcde0651d97..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/demos/life/life.cpp diff --git a/demos/life/life.cpp b/demos/life/life.cpp index 0402bd9944..39d74b2d2f 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -38,7 +38,7 @@ // resources // -------------------------------------------------------------------------- -#if defined(__WXGTK__) || defined(__WXMOTIF__) || defined(__WXMAC__) || defined(__WXMGL__) || defined(__WXX11__) +#ifndef wxHAS_IMAGES_IN_RESOURCES // application icon #include "mondrian.xpm" @@ -163,9 +163,8 @@ bool LifeApp::OnInit() // create the main application window LifeFrame *frame = new LifeFrame(); - // show it and tell the application that it's our main window + // show it frame->Show(true); - SetTopWindow(frame); // just for Motif #ifdef __WXMOTIF__