X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/387ebd3eb755ea6ca076708cfb25fe56249bf787..41b78190adf985fa6e91a34aba76b1693a8ffc72:/src/univ/renderer.cpp?ds=sidebyside diff --git a/src/univ/renderer.cpp b/src/univ/renderer.cpp index 13db530ddb..8a0ae893f4 100644 --- a/src/univ/renderer.cpp +++ b/src/univ/renderer.cpp @@ -6,7 +6,7 @@ // Created: 15.08.00 // RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // =========================================================================== @@ -38,6 +38,7 @@ #endif // WX_PRECOMP #include "wx/image.h" +#include "wx/log.h" #include "wx/univ/theme.h" #include "wx/univ/renderer.h" @@ -428,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);