diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 6f8d8724e4..0c4ddb981c 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -206,6 +206,10 @@ void wxGauge95::SetRange(int r) void wxGauge95::SetValue(int pos) { + // Setting the (same) position produces flicker on Vista, + // especially noticable if ownerdrawn + if (GetValue() == pos) return; + // switch to determinate mode if required SetDeterminateMode();