mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 15:31:14 +00:00
Adopted to changes in GSDisplayServer.h.
windowStyleForGSStyle() changed parameter style to unsigned. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16945 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
231e905b7d
commit
6e447cad39
1 changed files with 3 additions and 3 deletions
|
@ -221,7 +221,7 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg,
|
|||
@end
|
||||
|
||||
static inline
|
||||
DWORD windowStyleForGSStyle(int style)
|
||||
DWORD windowStyleForGSStyle(unsigned int style)
|
||||
{
|
||||
DWORD wstyle = 0;
|
||||
|
||||
|
@ -306,7 +306,7 @@ DWORD windowStyleForGSStyle(int style)
|
|||
DestroyWindow((HWND)winNum);
|
||||
}
|
||||
|
||||
- (void) stylewindow: (int)style : (int) winNum
|
||||
- (void) stylewindow: (unsigned int)style : (int) winNum
|
||||
{
|
||||
DWORD wstyle = windowStyleForGSStyle(style);
|
||||
|
||||
|
@ -534,7 +534,7 @@ DWORD windowStyleForGSStyle(int style)
|
|||
}
|
||||
|
||||
- (void) styleoffsets: (float *) l : (float *) r : (float *) t : (float *) b
|
||||
: (int) style
|
||||
: (unsigned int) style
|
||||
{
|
||||
DWORD wstyle = windowStyleForGSStyle(style);
|
||||
RECT rect = {100, 100, 200, 200};
|
||||
|
|
Loading…
Reference in a new issue