]> git.saurik.com Git - wxWidgets.git/commitdiff
The rounded corners look really dumb at this size.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 7 Jul 2015 12:48:11 +0000 (05:48 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 7 Jul 2015 12:48:11 +0000 (05:48 -0700)
src/osx/iphone/gauge.mm

index fc570ddb4e77c49dda6f63910f4e26267f8b6132..28cc99bc588d9923c834df23598cacc19b13dab9 100644 (file)
@@ -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 );