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