]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stattext.cpp
include 'Version' in version string, it's what Apple apps do
[wxWidgets.git] / src / univ / stattext.cpp
index ea5d42a206ad653621f6d7a39d16a3487e858be9..f854398a17b68da74a6eaa4edbbd06b50382b9e7 100644 (file)
@@ -83,14 +83,6 @@ wxSize wxStaticText::DoGetBestClientSize() const
 
 void wxStaticText::DoDraw(wxControlRenderer *renderer)
 {
-    if ( UseBgCol() )
-    {
-        wxDC& dc = renderer->GetDC();
-        dc.SetBrush(GetBackgroundColour());
-        dc.SetPen(*wxTRANSPARENT_PEN);
-        dc.DrawRectangle(renderer->GetRect());
-    }
-
     renderer->DrawLabel();
 }