]> git.saurik.com Git - wxWidgets.git/commitdiff
Somehow, setting a tint color makes gauge work :/.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 7 Jul 2015 13:46:49 +0000 (06:46 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 7 Jul 2015 13:46:49 +0000 (06:46 -0700)
src/osx/iphone/gauge.mm

index 28cc99bc588d9923c834df23598cacc19b13dab9..d5bf7b76df091356f1189230f1db5975c9bf84f7 100644 (file)
@@ -86,6 +86,7 @@ wxWidgetImplType* wxWidgetImpl::CreateGauge( wxWindowMac* wxpeer,
     CGRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
     wxUIProgressView* v = [[wxUIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleBar];
     [v setFrame:r];
+    [v setProgressTintColor: [UIColor blackColor]];
     [v setProgress:(float) value/maximum];
 
     wxWidgetIPhoneImpl* c = new wxOSXGaugeIPhoneImpl( wxpeer, v );