X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSalomeApp%2FSalomeApp_DoubleSpinBox.cxx;h=9bdda7525743fd458d2b7a8d1ffc8637f7723a7f;hb=08434ce2731f6dc141a870b92a95aca0f8129398;hp=5274494994295f72def591034ff1e459f65d9fd3;hpb=541d3637fed062228c2ae0b2224ea698a3114cc5;p=modules%2Fgui.git diff --git a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx index 527449499..9bdda7525 100644 --- a/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx +++ b/src/SalomeApp/SalomeApp_DoubleSpinBox.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -23,7 +23,6 @@ #ifndef DISABLE_PYCONSOLE #include // this include must be first (see PyInterp_base.h)! - #include #endif #include "SalomeApp_DoubleSpinBox.h" @@ -438,8 +437,7 @@ SalomeApp_DoubleSpinBox::SearchState SalomeApp_DoubleSpinBox::findVariable( cons if( studyDS->IsString( aName ) ) { #ifndef DISABLE_PYCONSOLE - PyConsole_Console* pyConsole = app->pythonConsole(); - PyConsole_Interp* pyInterp = pyConsole->getInterp(); + PyConsole_Interp* pyInterp = app->getPyInterp(); PyLockWrapper aLock; // Acquire GIL std::string command; command = "import salome_notebook ; ";