X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a0b23eb745d4159dcb2ed5f1710444d98807ccf..2e0ce62d46cde23d7573e6bab863fffc6f413da4:/src/univ/renderer.cpp diff --git a/src/univ/renderer.cpp b/src/univ/renderer.cpp index 4053fbf68f..3ad6923ec2 100644 --- a/src/univ/renderer.cpp +++ b/src/univ/renderer.cpp @@ -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);