]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stattext.cpp
fixed messed up indentation
[wxWidgets.git] / src / univ / stattext.cpp
index ea5d42a206ad653621f6d7a39d16a3487e858be9..f854398a17b68da74a6eaa4edbbd06b50382b9e7 100644 (file)
@@ -83,14 +83,6 @@ wxSize wxStaticText::DoGetBestClientSize() const
 
 void wxStaticText::DoDraw(wxControlRenderer *renderer)
 {
 
 void wxStaticText::DoDraw(wxControlRenderer *renderer)
 {
-    if ( UseBgCol() )
-    {
-        wxDC& dc = renderer->GetDC();
-        dc.SetBrush(GetBackgroundColour());
-        dc.SetPen(*wxTRANSPARENT_PEN);
-        dc.DrawRectangle(renderer->GetRect());
-    }
-
     renderer->DrawLabel();
 }
 
     renderer->DrawLabel();
 }