mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 07:21:02 +00:00
corrected and simplied the last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@13527 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
433edb9c86
commit
af358a6228
1 changed files with 0 additions and 2 deletions
|
@ -275,9 +275,7 @@ DWORD windowStyleForGSStyle(int style)
|
|||
RECT r;
|
||||
DWORD wstyle = windowStyleForGSStyle(style);
|
||||
|
||||
frame = [NSWindow contentRectForFrameRect: frame styleMask: _styleMask];
|
||||
r = GSScreenRectToMS(frame);
|
||||
AdjustWindowRectEx(&r, wstyle, NO, 0);
|
||||
|
||||
//NSLog(@"Creating at %d, %d, %d, %d", r.left, r.top, r.right - r.left, r.bottom - r.top);
|
||||
hwnd = CreateWindowEx(0,
|
||||
|
|
Loading…
Reference in a new issue