From 946bef27556a616356be87761b4580841530b1a5 Mon Sep 17 00:00:00 2001 From: asl Date: Fri, 14 Oct 2005 12:23:08 +0000 Subject: [PATCH] PAL9994 --- src/VISU_I/VISU_View_i.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.39.2