From: Jay Freeman (saurik) Date: Tue, 7 Jul 2015 12:47:46 +0000 (-0700) Subject: The UIProgressView is somehow not doing layout :(. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/56cd05b6467bc83f01326d4ffe630b9fb92b0572?ds=sidebyside The UIProgressView is somehow not doing layout :(. --- diff --git a/src/osx/iphone/gauge.mm b/src/osx/iphone/gauge.mm index 7ea73e294a..fc570ddb4e 100644 --- a/src/osx/iphone/gauge.mm +++ b/src/osx/iphone/gauge.mm @@ -49,6 +49,7 @@ public : wxGauge* wxpeer = (wxGauge*) GetWXPeer(); SetDeterminateMode(); [v setProgress:(float) wxpeer->GetValue() / m]; + [v setNeedsLayout]; } void SetValue(wxInt32 n) @@ -57,6 +58,7 @@ public : wxGauge* wxpeer = (wxGauge*) GetWXPeer(); SetDeterminateMode(); [v setProgress:(float) n / wxpeer->GetRange()]; + [v setNeedsLayout]; } void PulseGauge()