// File: SalomeApp_IntSpinBox.cxx
// Author: Oleg UVAROV
//
-#include <PyConsole_Interp.h> //this include must be first (see PyInterp_base.h)!
-#include <PyConsole_Console.h>
+
+#ifndef DISABLE_PYCONSOLE
+ #include <PyConsole_Interp.h> //this include must be first (see PyInterp_base.h)!
+ #include <PyConsole_Console.h>
+#endif
#include "SalomeApp_IntSpinBox.h"
#include "SalomeApp_Application.h"
{
if( studyDS->IsString( aName ) )
{
+#ifndef DISABLE_PYCONSOLE
PyConsole_Console* pyConsole = app->pythonConsole();
PyConsole_Interp* pyInterp = pyConsole->getInterp();
PyLockWrapper aLock = pyInterp->GetLockWrapper();
{
return IncorrectType;
}
+#endif
}
value = studyDS->GetInteger( aName );
return Found;