Typo on GuiControl DECLARE_CALLBACK
by Jean-louis Amadi · in Torque 3D Professional · 04/16/2011 (3:04 am) · 0 replies
Hello,
In the "gui/core/guiControl.h" we have :
DECLARE_CALLBACK( void, onAdd, () ); and not DECLARE_CALLBACK( bool, onAdd, () ); with bool return type, is it normal?
Hum sorry, this is the script callback also don't need of return a value here ;)
In the "gui/core/guiControl.h" we have :
DECLARE_CALLBACK( void, onAdd, () ); and not DECLARE_CALLBACK( bool, onAdd, () ); with bool return type, is it normal?
Hum sorry, this is the script callback also don't need of return a value here ;)
About the author
www.gamealchemy.fr