{
m_control = NULL ;
#if wxMAC_USE_NATIVE_TOOLBAR
- m_toolbarItemRef = NULL ;
+ m_toolbarItemRef = NULL ;
#endif
}
return m_toolbarItemRef ;
}
#endif
+
private :
void Init()
{
result = noErr;
}
break ;
+
#ifdef __WXMAC_OSX__
case kEventControlHitTest :
{
}
break ;
#endif
+
default :
break ;
}
case kEventClassControl :
result = wxMacToolBarToolControlEventHandler( handler, event, data ) ;
break ;
+
default :
break ;
}
}
}
break ;
+
default :
break ;
}
case kEventClassToolbarItem :
result = wxMacToolBarCommandEventHandler( handler, event, data ) ;
break ;
+
default :
break ;
}
result = HIToolbarItemChangeAttributes( m_toolbarItemRef, addAttrs, removeAttrs );
}
#endif
+
#ifdef __WXMAC_OSX__
if ( toggle )
{
//
bool wxToolBar::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
long style, const wxString& name)
-{
-
+{
if ( !wxToolBarBase::Create( parent , id , pos , size , style ) )
return FALSE ;
#endif
}
-
bool wxToolBar::Show( bool show )
{
bool bResult, ownToolbarInstalled = false;
return bResult;
}
-
void wxToolBar::DoGetSize( int *width, int *height ) const
{
#if wxMAC_USE_NATIVE_TOOLBAR