From: John L. <jr...@us...> - 2007-06-08 03:40:55
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv30668/wxLua/bindings/wxwidgets Modified Files: image.i override.hpp Log Message: Move all lua includes to wxldefs.h Fix node != NULL warning Make wxImageHistogram::iterator::SetFirst error out since you cannot set first value of a wxHashMap Fix unicode error in wxlbind.cpp Index: override.hpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/override.hpp,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** override.hpp 8 Jun 2007 01:36:22 -0000 1.70 --- override.hpp 8 Jun 2007 03:40:50 -0000 1.71 *************** *** 3235,3238 **** --- 3235,3241 ---- static int LUACALL wxLua_wxImageHistogram_iterator_Set_first(lua_State *L) { + wxlua_terror(L, "You cannot set the first element of a wxHashTable, do not use wxImageHistogram::iterator::SetFirst()."); + return 0; + /* wxLuaState wxlState(L); // get the number value *************** *** 3243,3246 **** --- 3246,3250 ---- // return the number of parameters return 0; + */ } %end Index: image.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/image.i,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** image.i 1 Jun 2007 18:19:46 -0000 1.26 --- image.i 8 Jun 2007 03:40:50 -0000 1.27 *************** *** 206,210 **** %class %noclassinfo %encapsulate wxImageHistogramEntry wxImageHistogramEntry() ! %rename Index %member unsigned long index // GetIndex() and SetIndex(idx) %rename Value %member unsigned long value // GetValue() and SetValue(val) %endclass --- 206,210 ---- %class %noclassinfo %encapsulate wxImageHistogramEntry wxImageHistogramEntry() ! %rename Index %member unsigned long index // GetIndex() only, SetIndex(idx) is not allowed %rename Value %member unsigned long value // GetValue() and SetValue(val) %endclass |