force icon type for tools, as PICTs are not shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -369,7 +369,7 @@ wxToolBarTool::wxToolBarTool(wxToolBar *tbar,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
ControlButtonContentInfo info ;
|
ControlButtonContentInfo info ;
|
||||||
wxMacCreateBitmapButton( &info , GetNormalBitmap() ) ;
|
wxMacCreateBitmapButton( &info , GetNormalBitmap() , kControlContentIconRef ) ;
|
||||||
|
|
||||||
#ifdef __WXMAC_OSX__
|
#ifdef __WXMAC_OSX__
|
||||||
CreateIconControl( window , &toolrect , &info , false , &m_controlHandle ) ;
|
CreateIconControl( window , &toolrect , &info , false , &m_controlHandle ) ;
|
||||||
|
Reference in New Issue
Block a user