]> git.saurik.com Git - wxWidgets.git/commitdiff
fix the sample icon (patch 1570974)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Oct 2006 16:50:05 +0000 (16:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Oct 2006 16:50:05 +0000 (16:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/samples/animate/anitest.cpp

index d402201c766e78dadb183c1fe3ce2fdd4d32a493..6104abca9da1cdd9732cd7380ee8cbae86f8dd0f 100644 (file)
@@ -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;