From: asl Date: Fri, 14 Oct 2005 12:23:08 +0000 (+0000) Subject: PAL9994 X-Git-Tag: ForTest_3_1_0a2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=946bef27556a616356be87761b4580841530b1a5;p=modules%2Fvisu.git PAL9994 --- diff --git a/src/VISU_I/VISU_View_i.cc b/src/VISU_I/VISU_View_i.cc index 6c829326..6b1244b5 100644 --- a/src/VISU_I/VISU_View_i.cc +++ b/src/VISU_I/VISU_View_i.cc @@ -50,7 +50,6 @@ #include "SPlot2d_ViewModel.h" #include "Plot2d_ViewFrame.h" -#include "Plot2d_ViewModel.h" #include "SalomeApp_Application.h" #include "SalomeApp_Study.h" @@ -941,7 +940,7 @@ namespace VISU { { if (MYDEBUG) MESSAGE("XYPlot_i::XYPlot_i"); if (theApplication) { - myViewManager = ProcessEvent(new TNewSpecViewEvent(theApplication)); + myViewManager = ProcessEvent(new TNewSpecViewEvent(theApplication)); } } @@ -1072,8 +1071,8 @@ namespace VISU { protected: Plot2d_ViewFrame* myView; TFun myFun; - CORBA::Boolean myMajor, myNumMajor; - CORBA::Boolean myMinor, myNumMinor; + CORBA::Boolean myMajor, myMinor; + CORBA::Long myNumMajor, myNumMinor; }; void XYPlot_i::EnableXGrid (CORBA::Boolean theMajor, CORBA::Long theNumMajor, @@ -1085,8 +1084,9 @@ namespace VISU { void XYPlot_i::EnableYGrid(CORBA::Boolean theMajor, CORBA::Long theNumMajor, CORBA::Boolean theMinor, CORBA::Long theNumMinor) { - //jfa tmp:ProcessVoidEvent(new TEnableGridEvent(myView,&Plot2d_ViewFrame::setYGrid, - //jfa tmp: theMajor,theNumMajor,theMinor,theNumMinor)); + //asl: Plot2d_ViewFrame::setYGrid has more parameters + //ProcessVoidEvent(new TEnableGridEvent(myView,&Plot2d_ViewFrame::setYGrid, + // theMajor,theNumMajor,theMinor,theNumMinor)); } class TSetScaleModeEvent: public SALOME_Event