On Wed, 23 Dec 2009, Saulius Zrelskis wrote:

Hi,

> > Yes, you are right. Strange that no one reported it for such long time.
> Not true. I found version of gtwin.c dated 2008.01.18 and there were lines:
>       ...
>       /* Special case */
>       if ( usRows < _GetScreenHeight() && usCols > _GetScreenWidth() )
>       {
>          HB_GT_FUNC(gt_SetMode( usRows, _GetScreenWidth() ));
>       }
>       else if ( usRows > _GetScreenHeight() && usCols < _GetScreenWidth() )
>       {
>          HB_GT_FUNC(gt_SetMode( _GetScreenHeight(), usCols ));
>       }
>       ...
> Later somehow this disappears.

I do not think so. The above code use old static multi GT API which
I implemented only in xHarbour and it was never part of Harbour where
I created dynamic multi GT API committed at:
   2006-02-04 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
which now it used by both projects.

In Harbour the problem exists from 2002 and it was introduced when
Paul committed my initial alternative GTWIN implementation at:
   2002-10-19 16:50 UTC-0500 Paul Tucker <[email protected]>

It means that you had to take above code from xHarbour.
I've just check that above fix were committed to xHarbour CVS by Paul at:
   2006-07-01 18:35 UTC-0500 Paul Tucker <[email protected]>

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to