]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/vscroll.cpp
restored defaults in switchs removed in the last commit
[wxWidgets.git] / src / generic / vscroll.cpp
index 6c072dc9ab872eace72cc3f540bae6400dace82f..e592f8054169030b2e9e3e99e83a40a03f43880d 100644 (file)
@@ -92,7 +92,7 @@ wxCoord wxVScrolledWindow::EstimateTotalHeight() const
 
         // use the height of the lines we looked as the average
         heightTotal = (wxCoord)
-                (((float)m_heightTotal / (3*NUM_LINES_TO_SAMPLE)) * m_lineMax);
+                (((float)heightTotal / (3*NUM_LINES_TO_SAMPLE)) * m_lineMax);
     }
 
     return heightTotal;