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:
Stefan Csomor
2005-02-23 18:19:45 +00:00
parent 45cf8535da
commit d56db55ea0

View File

@@ -369,7 +369,7 @@ wxToolBarTool::wxToolBarTool(wxToolBar *tbar,
else
{
ControlButtonContentInfo info ;
wxMacCreateBitmapButton( &info , GetNormalBitmap() ) ;
wxMacCreateBitmapButton( &info , GetNormalBitmap() , kControlContentIconRef ) ;
#ifdef __WXMAC_OSX__
CreateIconControl( window , &toolrect , &info , false , &m_controlHandle ) ;