if ( !myInterp || !myModule )
return;
- if ( PyObject_HasAttrString( myModule->get() , "engineIOR" ) ) {
- PyObjWrapper res( PyObject_CallMethod( myModule->get(), (char*)"engineIOR", (char*)"" ) );
+ if ( PyObject_HasAttrString( myModule , "engineIOR" ) ) {
+ PyObjWrapper res( PyObject_CallMethod( myModule, (char*)"engineIOR", (char*)"" ) );
if ( !res ) {
PyErr_Print();
}
bool myLastActivateStatus; //!< latest module activation status
protected:
- PyObjWrapper* myModule; //!< Python GUI module
- PyInterp_Interp* myInterp; //!< current Python subinterpreter
- static InterpMap myInterpMap; //!< study to Python subinterpreter map
+ PyObject* myModule; //!< Python GUI module
+ PyInterp_Interp* myInterp; //!< current Python subinterpreter
+ static InterpMap myInterpMap; //!< study to Python subinterpreter map
public:
SALOME_PYQT_ModuleLight();