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