From 9905a8b953953b9ec5e123a17997d5931978acfe Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Tue, 28 Apr 2015 12:53:27 +0900 Subject: replace Paint calls to Invalidate + fix compilation Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674 --- vcl/source/control/fixedhyper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/control/fixedhyper.cxx') diff --git a/vcl/source/control/fixedhyper.cxx b/vcl/source/control/fixedhyper.cxx index db36f90c2572..74309848605a 100644 --- a/vcl/source/control/fixedhyper.cxx +++ b/vcl/source/control/fixedhyper.cxx @@ -89,14 +89,14 @@ void FixedHyperlink::RequestHelp( const HelpEvent& rHEvt ) void FixedHyperlink::GetFocus() { SetTextColor( Color( COL_LIGHTRED ) ); - Paint( Rectangle( Point(), GetSizePixel() ) ); + Invalidate(Rectangle(Point(), GetSizePixel())); ShowFocus( Rectangle( Point( 1, 1 ), Size( m_nTextLen + 4, GetSizePixel().Height() - 2 ) ) ); } void FixedHyperlink::LoseFocus() { SetTextColor( GetControlForeground() ); - Paint( Rectangle( Point(), GetSizePixel() ) ); + Invalidate(Rectangle(Point(), GetSizePixel())); HideFocus(); } -- cgit