]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/renderer.cpp
adapted to new APIs for threads and floodfilling
[wxWidgets.git] / src / univ / renderer.cpp
index 4053fbf68feb622a88ae4564b76cb5af90650d7b..3ad6923ec2b24da83b94669da693acd56f0a0328 100644 (file)
@@ -428,6 +428,10 @@ 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);