apply SF patch #907546 (DMC fix)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2004-03-02 09:15:24 +00:00
parent 522e2aa861
commit edff734975

View File

@@ -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;