X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d15694e8cad1d44087323bd568ca33ff5b354f2c..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/osx/iphone/toolbar.mm?ds=inline diff --git a/src/osx/iphone/toolbar.mm b/src/osx/iphone/toolbar.mm index 5cb6b9aefc..659fb243f2 100644 --- a/src/osx/iphone/toolbar.mm +++ b/src/osx/iphone/toolbar.mm @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/osx/carbon/toolbar.cpp +// Name: src/osx/iphone/toolbar.mm // Purpose: wxToolBar // Author: Stefan Csomor // Modified by: @@ -126,7 +126,7 @@ wxToolBarToolBase( [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:)];