]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Object.h
Widget integration (step 5/6): generic widget controller finished and tested on linux...
[cpPlugins.git] / lib / cpPlugins / Interface / Object.h
index 5b0ebd6de87f9e79dd152d6465e3d1043ab06187..c4a0bfba7bcb84e499728c58bf1b9046f754964c 100644 (file)
@@ -54,8 +54,8 @@ public:                                                         \
 // -------------------------------------------------------------------------
 #define cpPlugins_Id_Macro( name, category )                            \
   public:                                                               \
-  static std::string GetClassName( ) { return( #name ); }               \
-  static std::string GetClassCategory( ) { return( category ); }
+  virtual std::string GetClassName( ) { return( #name ); }              \
+  virtual std::string GetClassCategory( ) { return( category ); }
 
 namespace cpPlugins
 {