From: John L. <jr...@us...> - 2009-10-05 02:51:41
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10796/wxLua/bindings/wxwidgets Modified Files: wxbase_datetime.i wxcore_rules.lua Log Message: Add a few more wxDateTime member functions. Speedup check for wxSpinEvent vs wxScrollEvent in wxLuaEventCallback::OnEvent() Reorder list of lightuserdata keys for LUA_REGISTRYINDEX in wxlstate.h Cleanup in wxLuaStackDialog, remove EnumerateGlobalData() and just treat is as a regular table. Fix ignoring events for controls in controls.wx.lua Index: wxcore_rules.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxcore_rules.lua,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** wxcore_rules.lua 1 Oct 2009 04:21:01 -0000 1.7 --- wxcore_rules.lua 5 Oct 2009 02:51:28 -0000 1.8 *************** *** 271,276 **** int ret = wxLuaBinding::RegisterBinding(wxlState); ! p_wxluatype_wxEvent = &wxluatype_wxEvent; ! p_wxluatype_wxWindow = &wxluatype_wxWindow; return ret; --- 271,278 ---- int ret = wxLuaBinding::RegisterBinding(wxlState); ! p_wxluatype_wxEvent = &wxluatype_wxEvent; ! p_wxluatype_wxWindow = &wxluatype_wxWindow; ! p_wxluatype_wxScrollEvent = &wxluatype_wxScrollEvent; ! p_wxluatype_wxSpinEvent = &wxluatype_wxSpinEvent; return ret; Index: wxbase_datetime.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxbase_datetime.i,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wxbase_datetime.i 1 Oct 2009 04:21:00 -0000 1.4 --- wxbase_datetime.i 5 Oct 2009 02:51:28 -0000 1.5 *************** *** 143,146 **** --- 143,151 ---- %rename wxDateTimeFromDMY wxDateTime(int day, wxDateTime::Month month = wxDateTime::Inv_Month, int year = wxDateTime::Inv_Year, int hour = 0, int minute = 0, int second = 0, int millisec = 0) + static wxDateTime Now() + static wxDateTime UNow() + static wxDateTime Today() + static void SetCountry(wxDateTime::Country country) + wxDateTime& SetToCurrent() wxDateTime& Set(time_t time) // use with Lua's os.time() on MSW, Linux, others? |