]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/iphone/toolbar.mm
Applied Blit system options optimization to StretchBlit
[wxWidgets.git] / src / osx / iphone / toolbar.mm
index 449a92e572b496c77b15ab50d9dae4139ac13e35..659fb243f2c664344f8d4ef0485c0672e34bee91 100644 (file)
@@ -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:)];