From: John L. <jr...@us...> - 2007-06-18 14:55:32
|
Update of /cvsroot/wxlua/wxLua/bindings In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv1750/wxLua/bindings Modified Files: genwxbind.lua Log Message: Fix compilation in MSW, add includes, etc Change genwxbind.lua to preserve the order of conditions, fifo instead of filo not sure why it reversed the order before, but it doesn't seem right. Index: genwxbind.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v retrieving revision 1.126 retrieving revision 1.127 diff -C2 -d -r1.126 -r1.127 *** genwxbind.lua 18 Jun 2007 02:56:22 -0000 1.126 --- genwxbind.lua 18 Jun 2007 14:54:58 -0000 1.127 *************** *** 698,702 **** preprocConditionTable["%__WXWINCE__"] = "defined(__WXWINCE__)" ! preprocConditionTable["wxHAS_POWER_EVENTS"] = "wxHAS_POWER_EVENTS" -- wxUSE_ conditions --- 698,702 ---- preprocConditionTable["%__WXWINCE__"] = "defined(__WXWINCE__)" ! preprocConditionTable["wxHAS_POWER_EVENTS"] = "defined(wxHAS_POWER_EVENTS)" -- wxUSE_ conditions *************** *** 2468,2472 **** elseif lineState.DefType == "blockcondition" then -- line is a block condition, push onto condition stack ! table.insert(parseState.ConditionStack, 1, lineState.Condition) elseif lineState.DefType == "property" then --- 2468,2472 ---- elseif lineState.DefType == "blockcondition" then -- line is a block condition, push onto condition stack ! table.insert(parseState.ConditionStack, lineState.Condition) elseif lineState.DefType == "property" then |