Update of /cvsroot/wxlua/wxLua/modules/wxbindstc/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17364/wxLua/modules/wxbindstc/include
Modified Files:
wxbind.h
Log Message:
Add version #define for bindings to tell people to regenerate them
Index: wxbind.h
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxbindstc/include/wxbind.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** wxbind.h 12 Dec 2006 07:09:41 -0000 1.13
--- wxbind.h 13 Dec 2006 00:27:57 -0000 1.14
***************
*** 21,24 ****
--- 21,29 ----
#include "wxlua/include/wxlstate.h"
#include "wxlua/include/wxlbind.h"
+
+ #if WXLUA_BINDING_VERSION > 1
+ # error "The WXLUA_BINDING_VERSION in the bindings is too old, regenerate bindings."
+ #endif //WXLUA_BINDING_VERSION > 1
+
// binding class
class wxLuaBinding_wxstc : public wxLuaBinding
|