Removed an '#ifndef FREE_WINDOWS' statement that prevented
authorSimon Clitherow <aphex@nildram.co.uk>
Fri, 12 Dec 2003 20:21:35 +0000 (20:21 +0000)
committerSimon Clitherow <aphex@nildram.co.uk>
Fri, 12 Dec 2003 20:21:35 +0000 (20:21 +0000)
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!

intern/ghost/intern/GHOST_SystemWin32.cpp

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