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
1 changed files with 4 additions and 0 deletions

View File

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