From bb65350139d40f7e3733bdc2e79f07e32e8305d7 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Sat, 21 Feb 2009 15:09:44 +0000 Subject: [PATCH] 2009-02-21 07:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgdarea.prg ! WIN_FillRect() => WVG_FillRect() Namespace lashed with hbwin/win_prn1.c. --- harbour/contrib/gtwvg/wvgdarea.prg | 2 +- harbour/contrib/gtwvg/wvgwin.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/harbour/contrib/gtwvg/wvgdarea.prg b/harbour/contrib/gtwvg/wvgdarea.prg index 527eccb4bf..f901feef54 100644 --- a/harbour/contrib/gtwvg/wvgdarea.prg +++ b/harbour/contrib/gtwvg/wvgdarea.prg @@ -155,7 +155,7 @@ METHOD handleEvent( nMessage, aNM ) CLASS WvgDrawingArea IF hb_isNumeric( ::hBrushBG ) Win_SetBkMode( hDC, 1 ) - Win_FillRect( hDC, { 0,0,::currentSize()[1],::currentSize()[1]}, ::hBrushBG ) + Wvg_FillRect( hDC, { 0,0,::currentSize()[1],::currentSize()[1]}, ::hBrushBG ) RETURN ( 0 ) ENDIF diff --git a/harbour/contrib/gtwvg/wvgwin.c b/harbour/contrib/gtwvg/wvgwin.c index dede908bca..2c9210034a 100644 --- a/harbour/contrib/gtwvg/wvgwin.c +++ b/harbour/contrib/gtwvg/wvgwin.c @@ -2634,8 +2634,9 @@ HB_FUNC( WVG_REGISTERCLASS_BYNAME ) } //----------------------------------------------------------------------// - -HB_FUNC( WIN_FILLRECT ) +// Function with Win_FillRect() exists in hbwin:win_parn1.c with different approach. +// ************************************** +HB_FUNC( WVG_FILLRECT ) { RECT rc;