]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.cxx
#2490 creaMaracasVisu Feature New High - Histogram Interaction
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / mathplot.cxx
index bf519013eec252d10a83c4f04e186272c9b6659c..af3e86591c91280d11a42fa6a1869c3fdfb7df18 100644 (file)
@@ -729,14 +729,12 @@ void mpWindow::UpdateAll()
        {
                int cx, cy;
                GetClientSize( &cx, &cy);
-
                const int sx = (int)((m_maxX - m_minX) * GetScaleX()); // JPRx
                const int sy = (int)((m_maxY - m_minY) * GetScaleY()); // JPRx
                const int px = (int)((GetPosX() - m_minX) * GetScaleX() - (cx>>1)); // JPRx
                const int py = (int)((GetPosY() - m_minY) * GetScaleY() - (cy>>1)); // JPRx
                SetScrollbars( 1, 1, sx, sy, px, py);
        }
-
        FitInside();
        Refresh( false );
 }