X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3e65dac0c4e7ad19e3c270caa1e0eea138e5d8d..14b72bf5a6b575f2be880eadc3e7f0131afe889a:/samples/memcheck/memcheck.cpp?ds=sidebyside diff --git a/samples/memcheck/memcheck.cpp b/samples/memcheck/memcheck.cpp index 805b315945..026f8d0532 100644 --- a/samples/memcheck/memcheck.cpp +++ b/samples/memcheck/memcheck.cpp @@ -27,6 +27,10 @@ #include "wx/date.h" +#ifdef __WXGTK__ +#include "mondrian.xpm" +#endif + #if !WXDEBUG #error You must set WXDEBUG to 1 on the 'make' command line (MSW) or with configure (GTK) #endif @@ -59,9 +63,7 @@ bool MyApp::OnInit(void) // Give it an icon #ifdef wx_msw frame->SetIcon(wxIcon("mondrian")); -#endif -#ifdef wx_x - frame->SetIcon(wxIcon("mondrian.xbm")); + frame->SetIcon(wxIcon(mondrian_xpm)); #endif // Make a menubar