Update of /cvsroot/wxlua/wxLua/modules/wxbind/include
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17364/wxLua/modules/wxbind/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/wxbind/include/wxbind.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** wxbind.h 12 Dec 2006 07:09:39 -0000 1.44
--- wxbind.h 13 Dec 2006 00:27:56 -0000 1.45
***************
*** 38,41 ****
--- 38,46 ----
#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_wx : public wxLuaBinding
|