diff --git a/clientgui/sg_CustomControls.cpp b/clientgui/sg_CustomControls.cpp index c07f798388..9c3f0066a2 100644 --- a/clientgui/sg_CustomControls.cpp +++ b/clientgui/sg_CustomControls.cpp @@ -186,16 +186,3 @@ void CTransparentStaticTextAssociate::OnMouse(wxMouseEvent& event) { } event.Skip(); } - - -#if 0 -void CTransparentStaticTextAssociate::OnEraseBackground(wxEraseEvent& event){ - CSkinSimple* pSkinSimple = wxGetApp().GetSkinManager()->GetSimple(); - - wxASSERT(pSkinSimple); - wxASSERT(wxDynamicCast(pSkinSimple, CSkinSimple)); - - wxDC *dc = event.GetDC(); - dc->DrawBitmap(*pSkinSimple->GetPreferencesDialogBackgroundImage()->GetBitmap(), 0, 0); -} -#endif