X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de7cb655ae8436f02607fd71c85b7fd6483bce15..79b7701c0bc547dc4b579258c7116700e5925162:/src/osx/iphone/toolbar.mm diff --git a/src/osx/iphone/toolbar.mm b/src/osx/iphone/toolbar.mm index e77c140fd3..4892a57e82 100644 --- a/src/osx/iphone/toolbar.mm +++ b/src/osx/iphone/toolbar.mm @@ -227,6 +227,7 @@ bool wxToolBar::Create( switch ( [[UIApplication sharedApplication] statusBarStyle] ) { +#ifdef __IPHONE_3_0 case UIStatusBarStyleBlackOpaque: toolbar.barStyle = UIBarStyleBlack; break; @@ -234,6 +235,7 @@ bool wxToolBar::Create( toolbar.barStyle = UIBarStyleBlack; toolbar.translucent = YES; break; +#endif default: toolbar.barStyle = UIBarStyleDefault; break;