diff --git a/clientgui/sg_CustomControls.cpp b/clientgui/sg_CustomControls.cpp index 724189035f..6d583438c3 100644 --- a/clientgui/sg_CustomControls.cpp +++ b/clientgui/sg_CustomControls.cpp @@ -135,6 +135,7 @@ IMPLEMENT_DYNAMIC_CLASS (CTransparentHyperlinkCtrl, wxHyperlinkCtrl) #ifndef __WXMAC__ BEGIN_EVENT_TABLE(CTransparentHyperlinkCtrl, wxHyperlinkCtrl) EVT_ERASE_BACKGROUND(CTransparentHyperlinkCtrl::OnEraseBackground) + EVT_PAINT(CTransparentHyperlinkCtrl::OnPaint) END_EVENT_TABLE() #endif