From: John L. <jr...@us...> - 2008-10-21 04:23:25
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv23977/wxLua/bindings/wxwidgets Modified Files: wx_datatypes.lua wxcore_clipdrag.i wxcore_event.i Log Message: Add operators for <<, >>, %, ~ Index: wxcore_event.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxcore_event.i,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wxcore_event.i 18 Dec 2007 01:03:32 -0000 1.2 --- wxcore_event.i 21 Oct 2008 04:23:18 -0000 1.3 *************** *** 638,642 **** // wxPaintEvent - // ! // Note: You must ALWAYS create a wxPaintDC for the window abd delete() when // done to have the exposed area marked as painted, otherwise you'll continue // to get endless paint events. --- 638,642 ---- // wxPaintEvent - // ! // Note: You must ALWAYS create a wxPaintDC for the window and delete() when // done to have the exposed area marked as painted, otherwise you'll continue // to get endless paint events. Index: wxcore_clipdrag.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxcore_clipdrag.i,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** wxcore_clipdrag.i 18 Dec 2007 01:03:32 -0000 1.3 --- wxcore_clipdrag.i 21 Oct 2008 04:23:18 -0000 1.4 *************** *** 36,42 **** // wxClipboardLocker ! // Since the Lua garbage collector runs whenever necessary this class doesn't ! // serve its purpose of closing the clipboard when it goes out of scope as it ! // does in C++. // --------------------------------------------------------------------------- --- 36,45 ---- // wxClipboardLocker ! %class %delete %noclassinfo %encapsulate wxClipboardLocker ! // NOTE: ALWAYS delete() this when done since Lua's gc may not delete it soon enough ! wxClipboardLocker(wxClipboard *clipboard = NULL) ! ! %operator bool operator!() const ! %endclass // --------------------------------------------------------------------------- Index: wx_datatypes.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wx_datatypes.lua,v retrieving revision 1.93 retrieving revision 1.94 diff -C2 -d -r1.93 -r1.94 *** wx_datatypes.lua 31 Jan 2008 04:34:02 -0000 1.93 --- wx_datatypes.lua 21 Oct 2008 04:23:18 -0000 1.94 *************** *** 810,813 **** --- 810,820 ---- ValueType = "class", }, + wxClipboardLocker = { + ["%encapsulate"] = true, + Condition = "wxLUA_USE_wxClipboard && wxUSE_CLIPBOARD", + IsNumber = false, + Name = "wxClipboardLocker", + ValueType = "class", + }, wxClipboardTextEvent = { BaseClass = "wxCommandEvent", |