]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/pPlotterScaleY.cxx
BUG MacOs
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / pPlotter / pPlotterScaleY.cxx
index 96cf2cfb509beb794b8d9e23d86a4f47794cdf59..18d585ecbd1a990676b7b23595e8794bc56e012b 100644 (file)
@@ -51,11 +51,18 @@ void pPlotterScaleY::Plot(wxDC& dc, mpWindow& w)
 
 
        //setting origins
-       const int orgy   = w.GetScrY()-40;
-       const int extend = w.GetScrY()-50;
+       
+//EED 14Mai2009
+//     const int orgy   = w.GetScrY()-40;
+//     dc.SetDeviceOrigin(70,orgy);
+//     dc.SetAxisOrientation(true,true);  //EED  MacOx ??? 
+       
+       const int orgy   = 40;
        dc.SetDeviceOrigin(70,orgy);
-       dc.SetAxisOrientation(true,true);
+       dc.SetAxisOrientation(true,false);  
 
+       //      const int extend = w.GetScrY()-50;   //EED
+       
        //draw the axe
        dc.DrawLine( 0,0, 0, (max-min)*scaleY);