/////////////////////////////////////////////////////////////////////////////
-// Name: src/osx/carbon/toolbar.cpp
+// Name: src/osx/iphone/toolbar.mm
// Purpose: wxToolBar
// Author: Stefan Csomor
// Modified by:
[bui initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil];
bui.width = 25.0f;
}
- else if ( bmpNormal.Ok() )
+ else if ( bmpNormal.IsOk() )
{
[bui initWithImage:bmpNormal.GetUIImage() style:UIBarButtonItemStylePlain target:toolbar
action:@selector(clickedAction:)];
long style,
const wxString& name )
{
- m_macIsUserPane = false ;
+ DontCreatePeer();
if ( !wxToolBarBase::Create( parent, id, pos, size, style, wxDefaultValidator, name ) )
return false;