fixed Carbon compilo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2005-04-01 09:39:52 +00:00
parent ba75e603f6
commit 61c747cda0

View File

@@ -632,7 +632,7 @@ bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos),
CreateIconControl( window , &toolrect , &info , false , &controlHandle ) ;
#else
SInt16 behaviour = kControlBehaviorOffsetContents ;
if ( CanBeToggled() )
if ( tool->CanBeToggled() )
behaviour += kControlBehaviorToggles ;
CreateBevelButtonControl( window , &toolrect , CFSTR("") , kControlBevelButtonNormalBevel , behaviour , &info ,
0 , 0 , 0 , &controlHandle ) ;