forked from bartvdbraak/blender
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:
parent
57afdf5231
commit
8d94f3723d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user