Rewrote wxToolBar another time.

Other minor tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-03-30 21:18:39 +00:00
parent f4fefc232b
commit 34d26f42b1
6 changed files with 186 additions and 149 deletions

View 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);