From 8d94f3723d2535677a5610abfaf1d20a53b0267f Mon Sep 17 00:00:00 2001 From: Simon Clitherow Date: Fri, 12 Dec 2003 20:21:35 +0000 Subject: 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! --- intern/ghost/intern/GHOST_SystemWin32.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'intern') diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index 1db695d8107..b11dd7b3cc8 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -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); } -- cgit v1.2.3