From: John L. <jr...@us...> - 2010-08-12 23:41:20
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv31654/wxLua/bindings/wxwidgets Modified Files: wx_datatypes.lua wxbase_data.i Log Message: Add a few wxString methods, To/FromUTF8() Index: wx_datatypes.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wx_datatypes.lua,v retrieving revision 1.104 retrieving revision 1.105 diff -C2 -d -r1.104 -r1.105 *** wx_datatypes.lua 1 Oct 2009 04:21:00 -0000 1.104 --- wx_datatypes.lua 12 Aug 2010 23:41:09 -0000 1.105 *************** *** 752,755 **** --- 752,760 ---- ValueType = "number", }, + wxCharBuffer = { + IsNumber = true, + Name = "wxCharBuffer", + ValueType = "special", + }, wxCheckBox = { BaseClasses = { Index: wxbase_data.i =================================================================== RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxbase_data.i,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** wxbase_data.i 1 Oct 2009 04:21:00 -0000 1.5 --- wxbase_data.i 12 Aug 2010 23:41:09 -0000 1.6 *************** *** 20,23 **** --- 20,33 ---- wxString GetData() const + wxString AfterFirst(wxChar ch) const + wxString AfterLast(wxChar ch) const + wxString BeforeFirst(wxChar ch) const + wxString BeforeLast(wxChar ch) const + + size_t Len() const + + const wxCharBuffer ToUTF8() const + static wxString FromUTF8(const char* s) + %endclass |