]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/renderer.cpp
Remove unnecessary header dependencies. Fix resulting compilation
[wxWidgets.git] / src / univ / renderer.cpp
index 0021d3f2f85ceec40d778795560627cd021e523f..bc276a675acd8ce3d7b6ed1bd02a3cc46645b041 100644 (file)
@@ -429,10 +429,6 @@ void wxControlRenderer::DrawLabel(const wxBitmap& bitmap,
         if ( bitmap.Ok() )
         {
             rectLabel.Inflate(-marginX, -marginY);
-            
-            // I don't know why this is necessary. RR.
-            rectLabel.x ++;
-            rectLabel.y ++;
         }
 
         wxControl *ctrl = wxStaticCast(m_window, wxControl);