Removed an '#ifndef FREE_WINDOWS' statement that prevented

a gcc/cygwin built Blender from showing the Blender app icon in the
main window title bar.

Only a minor issue, but it annoyed me long enough to want to fix it!
This commit is contained in:
Simon Clitherow 2003-12-12 20:21:35 +00:00
parent 57afdf5231
commit 8d94f3723d

@ -317,11 +317,8 @@ GHOST_TSuccess GHOST_SystemWin32::init()
wc.cbClsExtra= 0; wc.cbClsExtra= 0;
wc.cbWndExtra= 0; wc.cbWndExtra= 0;
wc.hInstance= ::GetModuleHandle(0); wc.hInstance= ::GetModuleHandle(0);
#ifndef FREE_WINDOWS
wc.hIcon = ::LoadIcon(wc.hInstance, "APPICON"); wc.hIcon = ::LoadIcon(wc.hInstance, "APPICON");
#else
wc.hIcon = ::LoadIcon(NULL, "APPICON");
#endif
if (!wc.hIcon) { if (!wc.hIcon) {
::LoadIcon(NULL, IDI_APPLICATION); ::LoadIcon(NULL, IDI_APPLICATION);
} }