Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31187/wxLua/bindings/wxwidgets
Modified Files:
gdi.i wx_datatypes.lua
Log Message:
Fix wxAnimationCtrl condition
add more controls to controls.wx.lua sample and show events for everything
Index: wx_datatypes.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wx_datatypes.lua,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** wx_datatypes.lua 19 Jun 2007 22:26:46 -0000 1.75
--- wx_datatypes.lua 20 Jun 2007 22:57:34 -0000 1.76
***************
*** 240,244 ****
wxAnimation = {
BaseClass = "wxGDIObject",
! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL",
DefType = "class",
IsNumber = false,
--- 240,244 ----
wxAnimation = {
BaseClass = "wxGDIObject",
! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL",
DefType = "class",
IsNumber = false,
***************
*** 247,251 ****
wxAnimationCtrl = {
BaseClass = "wxControl",
! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL",
DefType = "class",
IsNumber = false,
--- 247,251 ----
wxAnimationCtrl = {
BaseClass = "wxControl",
! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL",
DefType = "class",
IsNumber = false,
***************
*** 253,257 ****
},
wxAnimationType = {
! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL",
DefType = "enum",
IsNumber = true,
--- 253,257 ----
},
wxAnimationType = {
! Condition = "wxCHECK_VERSION(2,8,0) && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL",
DefType = "enum",
IsNumber = true,
***************
*** 4000,4004 ****
WXWIN_COMPATIBILITY_2_8 = "(defined(WXWIN_COMPATIBILITY_2_8) && WXWIN_COMPATIBILITY_2_8)",
wxHAS_POWER_EVENTS = "defined(wxHAS_POWER_EVENTS)",
- wxLUA_USE_Animation = "wxLUA_USE_Animation",
wxLUA_USE_FL = "wxLUA_USE_FL",
wxLUA_USE_Geometry = "wxLUA_USE_Geometry",
--- 4000,4003 ----
***************
*** 4006,4009 ****
--- 4005,4009 ----
wxLUA_USE_wxAboutDialog = "wxLUA_USE_wxAboutDialog",
wxLUA_USE_wxAcceleratorTable = "wxLUA_USE_wxAcceleratorTable",
+ wxLUA_USE_wxAnimation = "wxLUA_USE_wxAnimation",
wxLUA_USE_wxApp = "wxLUA_USE_wxApp",
wxLUA_USE_wxArrayInt = "wxLUA_USE_wxArrayInt",
Index: gdi.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/gdi.i,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** gdi.i 19 Jun 2007 22:26:46 -0000 1.56
--- gdi.i 20 Jun 2007 22:57:34 -0000 1.57
***************
*** 1662,1666 ****
// wxAnimation
! %if %wxchkver_2_8 && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL
%include "wx/animate.h"
--- 1662,1666 ----
// wxAnimation
! %if %wxchkver_2_8 && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL
%include "wx/animate.h"
***************
*** 1677,1681 ****
wxAnimation()
wxAnimation(const wxAnimation& anim)
! wxAnimation(const wxString& name, wxAnimationType type = wxANIMATION_TYPE_ANY)
virtual bool IsOk() const
--- 1677,1681 ----
wxAnimation()
wxAnimation(const wxAnimation& anim)
! %msw wxAnimation(const wxString& name, wxAnimationType type = wxANIMATION_TYPE_ANY)
virtual bool IsOk() const
***************
*** 1714,1716 ****
%endclass
! %endif // %wxchkver_2_8 && wxLUA_USE_Animation && wxUSE_ANIMATIONCTRL
--- 1714,1716 ----
%endclass
! %endif // %wxchkver_2_8 && wxLUA_USE_wxAnimation && wxUSE_ANIMATIONCTRL
|