diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1a13cb3c57..517ee17752 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,12 +16,17 @@ The license applies to all entries newer than 2009-04-28. */ +2011-06-16 00:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/rtl/gtwvt/gtwvt.c + ! fixed WinCE regression after recent patch + % minor optimization + 2011-06-15 13:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideeditor.prg - ! Fixed: relaoding a source now correctly sets the READONLY - attribute associated with the file and also positions the cursor + ! Fixed: relaoding a source now correctly sets the READONLY + attribute associated with the file and also positions the cursor approximately at the same position as it was before. - This helps in keeping the same session if a file is checked + This helps in keeping the same session if a file is checked in/out of some version control systems which sets the attribute to read-only when checked in. @@ -34,7 +39,7 @@ * contrib/hbide/idechangelog.prg * contrib/hbide/idesaveload.prg * Changed: "Manage ChangeLog(s)" dialog - and <Sources> - entry fields are now editable drop-down combo boxes. They retain + entry fields are now editable drop-down combo boxes. They retain the entered text for next run. The retained entries are inserted alphabetically to retreive fast. diff --git a/harbour/src/rtl/gtwvt/gtwvt.c b/harbour/src/rtl/gtwvt/gtwvt.c index 1480a8b12c..b16d4591f5 100644 --- a/harbour/src/rtl/gtwvt/gtwvt.c +++ b/harbour/src/rtl/gtwvt/gtwvt.c @@ -599,10 +599,11 @@ static void hb_gt_wvt_FitRows( PHB_GTWVT pWVT ) int maxWidth; int maxHeight; - if( IsZoomed( pWVT->hWnd ) ) - pWVT->bMaximized = HB_TRUE; - else - pWVT->bMaximized = HB_FALSE; +#if defined( HB_OS_WIN_CE ) + pWVT->bMaximized = HB_FALSE; +#else + pWVT->bMaximized = IsZoomed( pWVT->hWnd ); +#endif GetClientRect( pWVT->hWnd, &ci ); maxWidth = ci.right; @@ -632,10 +633,11 @@ static void hb_gt_wvt_FitSize( PHB_GTWVT pWVT ) int iCalcWidth = 0; int iCalcHeight = 0; - if( IsZoomed( pWVT->hWnd ) ) - pWVT->bMaximized = HB_TRUE; - else - pWVT->bMaximized = HB_FALSE; +#if defined( HB_OS_WIN_CE ) + pWVT->bMaximized = HB_FALSE; +#else + pWVT->bMaximized = IsZoomed( pWVT->hWnd ); +#endif GetClientRect( pWVT->hWnd, &ci ); GetWindowRect( pWVT->hWnd, &wi );