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:
parent
0f841aae1a
commit
d401e67402
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue