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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user