changed gbase.h so that it compiles with swig, commented out class IsDerivedFrom