mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-23 16:10:52 +00:00
back/win32:
Only look at NSUtilityWindowMask to decide whether to use a thin- style title bar (WS_EX_TOOLWINDOW). git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@31080 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
96c82d4518
commit
a2716081f5
2 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-08-03 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/win32/WIN32Server.m:
|
||||
Only look at NSUtilityWindowMask to decide whether to use a thin-
|
||||
style title bar (WS_EX_TOOLWINDOW).
|
||||
|
||||
2010-07-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/gsc/GSGState.m (-fillRect:withPattern:): Don't use an
|
||||
|
|
|
@ -477,16 +477,17 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg,
|
|||
{
|
||||
DWORD estyle = 0;
|
||||
|
||||
if ((style & NSMiniaturizableWindowMask) == NSMiniaturizableWindowMask)
|
||||
if ((style & NSUtilityWindowMask) == NSUtilityWindowMask)
|
||||
{
|
||||
estyle = WS_EX_TOOLWINDOW;
|
||||
}
|
||||
else
|
||||
{
|
||||
//FIXME: This looks like a hack
|
||||
if ([self usesNativeTaskbar])
|
||||
estyle = WS_EX_APPWINDOW;
|
||||
else
|
||||
estyle = WS_EX_TOOLWINDOW;
|
||||
}
|
||||
else
|
||||
{
|
||||
estyle = WS_EX_TOOLWINDOW;
|
||||
}
|
||||
|
||||
return estyle;
|
||||
|
|
Loading…
Reference in a new issue