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;