]> git.saurik.com Git - wxWidgets.git/commitdiff
apply SF patch #907546 (DMC fix)
authorChris Elliott <biol75@york.ac.uk>
Tue, 2 Mar 2004 09:15:24 +0000 (09:15 +0000)
committerChris Elliott <biol75@york.ac.uk>
Tue, 2 Mar 2004 09:15:24 +0000 (09:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/fl/rowlayoutpl.cpp

index e500194447ee971cb957866a3cbe158ca494c1e6..dc180f18d6de6b003e4490bc6b9516268a250f13 100644 (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;