From: Vadim Zeitlin Date: Fri, 5 Nov 2010 21:43:33 +0000 (+0000) Subject: Minor cosmetic fix to generic check tools appearance in wxOSX. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b895954d3f7e37a42292e9c610262c1330eb4cd7 Minor cosmetic fix to generic check tools appearance in wxOSX. Use rounded rectangle to indicate the selected tool instead of a plain one. Closes #12409. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/cocoa/toolbar.mm b/src/osx/cocoa/toolbar.mm index ccc6bbaf43..57c8989ccd 100644 --- a/src/osx/cocoa/toolbar.mm +++ b/src/osx/cocoa/toolbar.mm @@ -516,7 +516,7 @@ void wxToolBarTool::UpdateImages() dc.SelectObject( m_alternateBitmap ); dc.SetPen( wxPen(*wxBLACK) ); dc.SetBrush( wxBrush( *wxLIGHT_GREY )); - dc.DrawRectangle( 0, 0, w, h ); + dc.DrawRoundedRectangle( 0, 0, w, h, 2 ); dc.DrawBitmap( m_bmpNormal, 0, 0, true ); dc.SelectObject( wxNullBitmap );