summaryrefslogtreecommitdiff
path: root/vcl/source/control/fixedhyper.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-28 12:53:27 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-04-29 09:24:20 +0900
commit9905a8b953953b9ec5e123a17997d5931978acfe (patch)
tree8f31ba1b0e1aa6a024a02e580d0a350cb363c986 /vcl/source/control/fixedhyper.cxx
parentf50fd9692ed7b9632c0f8dad9508f5a207679be4 (diff)
replace Paint calls to Invalidate + fix compilation
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
Diffstat (limited to 'vcl/source/control/fixedhyper.cxx')
-rw-r--r--vcl/source/control/fixedhyper.cxx4
1 files changed, 2 insertions, 2 deletions
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();
}