Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv701/wxLua/bindings/wxwidgets
Modified Files:
wxbase_file.i wxcore_menutool.i
Log Message:
Added new wxFileName and wxMenuItem methods
Index: wxbase_file.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxbase_file.i,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** wxbase_file.i 29 Jan 2008 00:49:11 -0000 1.4
--- wxbase_file.i 1 Apr 2008 04:19:42 -0000 1.5
***************
*** 242,245 ****
--- 242,246 ----
static wxString GetPathSeparators(wxPathFormat format = wxPATH_NATIVE)
static wxString GetPathTerminators(wxPathFormat format = wxPATH_NATIVE)
+ wxString GetPathWithSep(wxPathFormat format = wxPATH_NATIVE ) const
wxString GetShortPath() const
***************
*** 288,291 ****
--- 289,293 ----
void PrependDir(const wxString& dir)
void RemoveDir(int pos)
+ void RemoveLastDir()
bool Rmdir()
static bool Rmdir(const wxString& dir)
Index: wxcore_menutool.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxcore_menutool.i,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** wxcore_menutool.i 18 Dec 2007 01:03:32 -0000 1.3
--- wxcore_menutool.i 1 Apr 2008 04:19:42 -0000 1.4
***************
*** 154,157 ****
--- 154,166 ----
// void SetName(const wxString& text) const - deprecated
%win void SetTextColour(const wxColour& colour) const
+
+ %if %wxchkver_2_8
+ void SetItemLabel(const wxString& str)
+ wxString GetItemLabel() const
+ wxString GetItemLabelText() const
+
+ static wxString GetLabelText(const wxString& label)
+ %endif
+
%endclass
|