diff --git a/contrib/samples/animate/anitest.cpp b/contrib/samples/animate/anitest.cpp index d402201c76..6104abca9d 100644 --- a/contrib/samples/animate/anitest.cpp +++ b/contrib/samples/animate/anitest.cpp @@ -72,11 +72,7 @@ bool MyApp::OnInit() wxDEFAULT_FRAME_STYLE); // Give it an icon -#ifdef __WXMSW__ - frame->SetIcon(wxIcon(_T("mdi_icn"))); -#else - frame->SetIcon(wxIcon( mondrian_xpm )); -#endif + frame->SetIcon(wxICON(mondrian)); // Make a menubar wxMenu *file_menu = new wxMenu;