Switch the main window's icon back to the .ico version on windows as it was rejecting the png one.

Originally committed to SVN as r3285.
This commit is contained in:
Thomas Goyne 2009-07-25 20:32:58 +00:00
parent 0f841aae1a
commit d401e67402

View file

@ -147,9 +147,13 @@ FrameMain::FrameMain (wxArrayString args)
// Set icon // Set icon
StartupLog(_T("Set icon")); StartupLog(_T("Set icon"));
#ifdef _WINDOWS
SetIcon(wxICON(wxicon));
#else
wxIcon icon; wxIcon icon;
icon.CopyFromBitmap(GETIMAGE(wxicon_misc)); icon.CopyFromBitmap(GETIMAGE(wxicon_misc));
SetIcon(icon); SetIcon(icon);
#endif
// Contents // Contents
showVideo = true; showVideo = true;