From ee929890dbc937e98f6150f515a357e049a49707 Mon Sep 17 00:00:00 2001 From: abd Date: Tue, 7 Oct 2008 13:16:20 +0000 Subject: [PATCH] Fix compilation problems on Win32 Platform --- src/VISUGUI/VisuGUI_CutPlanesDlg.cxx | 2 +- src/VISUGUI/VisuGUI_FileInfoDlg.cxx | 2 -- src/VISUGUI/VisuGUI_Table3dDlg.cxx | 8 ++++++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx b/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx index 35306893..ad0cb643 100644 --- a/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CutPlanesDlg.cxx @@ -446,7 +446,7 @@ void VisuGUI_CutPlanesPane::onVectorialFieldChanged(int pos){ } void VisuGUI_CutPlanesPane::onDeformationCheck(bool Flag){ - if(!myCutPlanes || !hasInit) return; + if(myCutPlanes== NULL || !hasInit) return; myCutPlanes->UseDeformation(Flag); InitVectorialField(); DrawTable(); diff --git a/src/VISUGUI/VisuGUI_FileInfoDlg.cxx b/src/VISUGUI/VisuGUI_FileInfoDlg.cxx index 5e4e6a7f..186510b3 100644 --- a/src/VISUGUI/VisuGUI_FileInfoDlg.cxx +++ b/src/VISUGUI/VisuGUI_FileInfoDlg.cxx @@ -28,8 +28,6 @@ #include -#include - #include #include #include diff --git a/src/VISUGUI/VisuGUI_Table3dDlg.cxx b/src/VISUGUI/VisuGUI_Table3dDlg.cxx index 8c951285..7780456a 100644 --- a/src/VISUGUI/VisuGUI_Table3dDlg.cxx +++ b/src/VISUGUI/VisuGUI_Table3dDlg.cxx @@ -582,6 +582,14 @@ void VisuGUI_TableScalarBarPane::XYChanged( double ) } } +/*! + +*/ +void VisuGUI_TableScalarBarPane::changeScalarMode( int ) +{ +//do nothing +} + //---------------------------------------------------------------------------- /*! Sets size and position -- 2.39.2