Make wxToolBar tools rectangles taller under OS X

Apparently the tools get slightly cut off without this.

See #16669.
This commit is contained in:
sbrowne
2016-02-23 01:46:45 +01:00
committed by Vadim Zeitlin
parent 1f7cd4807f
commit d4edf57781

View File

@@ -1454,7 +1454,7 @@ bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos), wxToolBarToolBase *toolBase)
wxSize toolSize = GetToolSize();
WXWidget controlHandle = NULL;
NSRect toolrect = NSMakeRect(0, 0, toolSize.x, toolSize.y );
NSRect toolrect = NSMakeRect(0, 0, toolSize.x, toolSize.y + 2 );
#if wxOSX_USE_NATIVE_TOOLBAR
wxString label = tool->GetLabel();