]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/mathplot.cxx
- Comment out uselesss #define MAX (vtk-4.5 doesn't compile)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / mathplot.cxx
index bda190264c79f3ae16cc2d5795fb7b1485a80a01..7661beec1da8001dac586234fb9a2cf3158fff7c 100644 (file)
@@ -695,10 +695,10 @@ void mpWindow :: UpdateAll()
                int cx, cy;
                GetClientSize( &cx, &cy);
 
-               const int sx = (int)((m_maxX - m_minX) * GetScaleX());
-               const int sy = (int)((m_maxY - m_minY) * GetScaleY());
-               const int px = (int)((GetPosX() - m_minX) * GetScaleX() - (cx>>1));
-               const int py = (int)((GetPosY() - m_minY) * GetScaleY() - (cy>>1));
+               //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);
        }