diff --git a/harbour/include/classes.ch b/harbour/include/classes.ch index 607aae6f5b..0b1274ca72 100644 --- a/harbour/include/classes.ch +++ b/harbour/include/classes.ch @@ -56,7 +56,10 @@ #xcommand METHOD ( [] ) VIRTUAL => ; oClass:AddVirtual( <(MethodName)> ) -#xcommand MESSAGE [()] METHOD ( [] ) => ; +#xcommand MESSAGE METHOD ( [] ) => ; + oClass:AddMethod( <(MessageName)>, CLSMETH _CLASS_NAME_ () ) + +#xcommand MESSAGE () METHOD ( [] ) => ; oClass:AddMethod( <(MessageName)>, CLSMETH _CLASS_NAME_ () ) #xcommand ENDCLASS => oClass:Create() ;;