Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv12669/wxLua/bindings
Modified Files:
genwxbind.lua
Log Message:
added all wxWidget's wxUSE_XXX conditions to the bindings
Index: genwxbind.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v
retrieving revision 1.100
retrieving revision 1.101
diff -C2 -d -r1.100 -r1.101
*** genwxbind.lua 22 Feb 2007 05:40:51 -0000 1.100
--- genwxbind.lua 23 Feb 2007 04:35:29 -0000 1.101
***************
*** 715,718 ****
--- 715,719 ----
preprocConditionTable["wxUSE_APPLE_IEEE"] = "wxUSE_APPLE_IEEE"
preprocConditionTable["wxUSE_BMPBUTTON"] = "wxUSE_BMPBUTTON"
+ preprocConditionTable["wxUSE_BOOKCTRL"] = "wxUSE_BOOKCTRL"
preprocConditionTable["wxUSE_BUILTIN_IODBC"] = "wxUSE_BUILTIN_IODBC"
preprocConditionTable["wxUSE_BUSYINFO"] = "wxUSE_BUSYINFO"
***************
*** 723,726 ****
--- 724,728 ----
preprocConditionTable["wxUSE_CHECKLISTBOX"] = "wxUSE_CHECKLISTBOX"
preprocConditionTable["wxUSE_CHOICE"] = "wxUSE_CHOICE"
+ preprocConditionTable["wxUSE_CHOICEBOOK"] = "wxUSE_CHOICEBOOK"
preprocConditionTable["wxUSE_CHOICEDLG"] = "wxUSE_CHOICEDLG"
preprocConditionTable["wxUSE_CLIPBOARD"] = "wxUSE_CLIPBOARD"
***************
*** 1947,1953 ****
-- handle condition operators, note can have leading ! for not
if (tag == "!") or ((((lineState.DefType == "blockcondition") or lineState.InLineConditionIf) and preprocOperatorTable[tag])) then
! if not lineState.Condition and (preprocOperatorTable[tag] ~= "!") then
! print("Error: Unexpected Conditional Operator "..tag..". "..LineTableErrString(lineTable))
! else
if not lineState.Condition then
lineState.Condition = preprocOperatorTable[tag]
--- 1949,1953 ----
-- handle condition operators, note can have leading ! for not
if (tag == "!") or ((((lineState.DefType == "blockcondition") or lineState.InLineConditionIf) and preprocOperatorTable[tag])) then
! if lineState.Condition or (preprocOperatorTable[tag] == "!") or (preprocOperatorTable[tag] == "(") then
if not lineState.Condition then
lineState.Condition = preprocOperatorTable[tag]
***************
*** 1962,1965 ****
--- 1962,1967 ----
lineState.Condition = lineState.Condition..preprocOperatorTable[tag]
end
+ else
+ print("Error: Unexpected Conditional Operator "..tag..". "..LineTableErrString(lineTable))
end
|