]> git.saurik.com Git - wxWidgets.git/commitdiff
force icon type for tools, as PICTs are not shown
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 23 Feb 2005 18:19:45 +0000 (18:19 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 23 Feb 2005 18:19:45 +0000 (18:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/toolbar.cpp

index cdefd9ccbb619587c77bd77afbde50855b0806cb..70710393b8e55b41804e37d36730346f5eae447c 100644 (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 ) ;