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
This commit is contained in:
Viktor Szakats
2011-06-15 22:39:24 +00:00
parent 31fc070ee5
commit dc1f09c2c6
2 changed files with 19 additions and 12 deletions

View File

@@ -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 - <Title> 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.

View File

@@ -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 );