From 249c3342495c3e5db26c9b7b7288bd04a194859f Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 7 Jul 2015 05:48:11 -0700 Subject: [PATCH] The rounded corners look really dumb at this size. --- src/osx/iphone/gauge.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/osx/iphone/gauge.mm b/src/osx/iphone/gauge.mm index fc570ddb4e..28cc99bc58 100644 --- a/src/osx/iphone/gauge.mm +++ b/src/osx/iphone/gauge.mm @@ -84,7 +84,8 @@ wxWidgetImplType* wxWidgetImpl::CreateGauge( wxWindowMac* wxpeer, long WXUNUSED(extraStyle)) { CGRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ; - wxUIProgressView* v = [[wxUIProgressView alloc] initWithFrame:r]; + wxUIProgressView* v = [[wxUIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleBar]; + [v setFrame:r]; [v setProgress:(float) value/maximum]; wxWidgetIPhoneImpl* c = new wxOSXGaugeIPhoneImpl( wxpeer, v ); -- 2.45.2