From: <kr_...@us...> - 2003-06-08 10:25:44
|
Update of /cvsroot/htoolkit/port/src/cbits/Win32 In directory sc8-pr-cvs1:/tmp/cvs-serv12434/src/cbits/Win32 Modified Files: Window.c Log Message: bugfix Index: Window.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/Window.c,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** Window.c 8 Jun 2003 08:17:52 -0000 1.30 --- Window.c 8 Jun 2003 10:25:41 -0000 1.31 *************** *** 1411,1415 **** { RECT rect; ! LONG style = GetWindowLong(hwnd, GWL_STYLE ); if (resizeable) style |= WS_THICKFRAME; else style &= ~WS_THICKFRAME; --- 1411,1421 ---- { RECT rect; ! LONG style; ! FrameData *pFrameData = (FrameData *) GetWindowLong(ghWndFrame,GWL_USERDATA); ! ! if (pFrameData->DocumentInterface == 1) ! hwnd = ghWndFrame; ! ! style = GetWindowLong(hwnd, GWL_STYLE ); if (resizeable) style |= WS_THICKFRAME; else style &= ~WS_THICKFRAME; |