mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
Use default icon size when reading ico file for windows app icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@30170 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8c4d1d251e
commit
a5b5c4f6b8
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-04-15 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/win32/w32_create.m:
|
||||
Use the default icon size when loading the app ico file
|
||||
Otherwise, the first icon in the file would be used.
|
||||
|
||||
2010-04-14 Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
|
||||
|
||||
* Source/win32/WIN32Server.m: Have non-key, non-main windows
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
icon = LoadImage(NULL,
|
||||
cpath,
|
||||
IMAGE_ICON,0,0,
|
||||
LR_DEFAULTCOLOR|LR_LOADFROMFILE);
|
||||
LR_DEFAULTSIZE|LR_LOADFROMFILE);
|
||||
SetClassLongPtr(hwnd,GCLP_HICON,(LONG_PTR)icon);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue