From: Jay Freeman (saurik) Date: Tue, 7 Jul 2015 12:48:11 +0000 (-0700) Subject: The rounded corners look really dumb at this size. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/249c3342495c3e5db26c9b7b7288bd04a194859f The rounded corners look really dumb at this size. --- 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 );