From: Chris Elliott Date: Tue, 2 Mar 2004 09:15:24 +0000 (+0000) Subject: apply SF patch #907546 (DMC fix) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/edff73497566c8f1bbf63186767cd350dd83ea3d apply SF patch #907546 (DMC fix) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/fl/rowlayoutpl.cpp b/contrib/src/fl/rowlayoutpl.cpp index e500194447..dc180f18d6 100644 --- a/contrib/src/fl/rowlayoutpl.cpp +++ b/contrib/src/fl/rowlayoutpl.cpp @@ -260,7 +260,7 @@ void cbRowLayoutPlugin::FitBarsToRange( int from, int till, { pBar->mBounds.width = wxMax( mpPane->mProps.mMinCBarDim.x, - int( double(freeSpc) * (pBar->mLenRatio/pcntSum) ) + (int)( double(freeSpc) * (pBar->mLenRatio/pcntSum) ) ); } pBar = pBar->mpNext;