Update of /cvsroot/wxlua/wxLua/bindings
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv30967/wxLua/bindings
Modified Files:
genwxbind.lua
Log Message:
update bindings, better docs, add wxAboutBox for 2.8
fix /* */ in genwxbind.lua
Remove wxPlatformXXX just use __WXMSW__ or whatever
Index: genwxbind.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/genwxbind.lua,v
retrieving revision 1.85
retrieving revision 1.86
diff -C2 -d -r1.85 -r1.86
*** genwxbind.lua 4 Dec 2006 05:54:40 -0000 1.85
--- genwxbind.lua 7 Dec 2006 06:32:41 -0000 1.86
***************
*** 746,749 ****
--- 746,750 ----
-- wxUSE_ conditions
+ conditions["wxUSE_ABOUTDLG"] = "wxUSE_ABOUTDLG"
conditions["wxUSE_ACCEL"] = "wxUSE_ACCEL"
conditions["wxUSE_ACCESSIBILITY"] = "wxUSE_ACCESSIBILITY"
***************
*** 929,932 ****
--- 930,934 ----
conditions["wxLUA_USE_Geometry"] = "wxLUA_USE_Geometry"
conditions["wxLUA_USE_MDI"] = "wxLUA_USE_MDI"
+ conditions["wxLUA_USE_wxAboutDialog"] = "wxLUA_USE_wxAboutDialog"
conditions["wxLUA_USE_wxAcceleratorTable"] = "wxLUA_USE_wxAcceleratorTable"
conditions["wxLUA_USE_wxApp"] = "wxLUA_USE_wxApp"
***************
*** 1684,1691 ****
if keywords[tag] then
- if not lineState.ActionAttributes[tag] and lineState.ActionMandatory then
- print("Error: Expected Line Action '"..lineState.Action.."', got '"..tag.."'. "..LineTableErrString(lineTable))
- end
-
-- block comment (start)
if tag == "/*" then
--- 1686,1689 ----
***************
*** 1695,1702 ****
elseif tag == "*/" then
parseState.IsBlockComment = false
- end
-- ignore until end of block comment
! if not parseState.IsBlockComment then
-- end inline conditionals
if lineState.InLineConditionIf and not lineState.InLineConditionEndIf then
--- 1693,1704 ----
elseif tag == "*/" then
parseState.IsBlockComment = false
-- ignore until end of block comment
! elseif not parseState.IsBlockComment then
!
! if not lineState.ActionAttributes[tag] and lineState.ActionMandatory then
! print("Error: Expected Line Action '"..lineState.Action.."', got '"..tag.."'. "..LineTableErrString(lineTable))
! end
!
-- end inline conditionals
if lineState.InLineConditionIf and not lineState.InLineConditionEndIf then
|