X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2Fmathplot.cxx;h=af3e86591c91280d11a42fa6a1869c3fdfb7df18;hb=5634a5c573f547422027d38e0da591feafc3460e;hp=bf519013eec252d10a83c4f04e186272c9b6659c;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.cxx index bf51901..af3e865 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.cxx @@ -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 ); }