From: John L. <jr...@us...> - 2006-05-14 17:45:10
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv21439/wxLua/bindings Modified Files: genwxbind.lua Log Message: init all image handlers in luamodule to make things easy simplify wxLuaSmartXXX by adding operator type*() so it can be used as is fix lua callback to clear the correct wxluastate and some formatting add destroy handler list to things shown in the stacktree and show items for them Index: genwxbind.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** genwxbind.lua 3 May 2006 22:52:17 -0000 1.60 --- genwxbind.lua 14 May 2006 17:45:05 -0000 1.61 *************** *** 3113,3117 **** argItem = "wxlState.GetStringArray("..argNum..", count)" ! declare = "int count = 0; wxLuaSmartStringArray ptr; "..argTypeWithAttrib.." "..argName.."; ptr = " elseif argType == "int" then -- Un 'const' ints --- 3113,3118 ---- argItem = "wxlState.GetStringArray("..argNum..", count)" ! --declare = "int count = 0; wxLuaSmartStringArray ptr; "..argTypeWithAttrib.." "..argName.."; ptr = " ! declare = "int count = 0; wxLuaSmartStringArray " elseif argType == "int" then -- Un 'const' ints *************** *** 3121,3125 **** argItem = "wxlState.GetIntArray("..argNum..", count)" ! declare = "int count = 0; wxLuaSmartIntArray ptr; "..argTypeWithAttrib.." "..argName.."; ptr = " elseif not intrinsic then argItem = "("..argTypeWithAttrib..") wxlState.GetUserDataType("..argNum..", s_wxluatag_"..MakeClassVar(argType)..")" --- 3122,3127 ---- argItem = "wxlState.GetIntArray("..argNum..", count)" ! --declare = "int count = 0; wxLuaSmartIntArray ptr; "..argTypeWithAttrib.." "..argName.."; ptr = " ! declare = "int count = 0; wxLuaSmartIntArray " elseif not intrinsic then argItem = "("..argTypeWithAttrib..") wxlState.GetUserDataType("..argNum..", s_wxluatag_"..MakeClassVar(argType)..")" |