Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv6394/wxLua/bindings/wxwidgets
Modified Files:
dialogs.i file.i
Log Message:
update to wxWidgets 2.8
Index: dialogs.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/dialogs.i,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** dialogs.i 2 Mar 2007 05:44:22 -0000 1.23
--- dialogs.i 8 Mar 2007 06:26:43 -0000 1.24
***************
*** 36,40 ****
// %function wxTipProvider* wxCreateFileTipProvider(const wxString& filename, size_t currentTip)
! %function wxString wxDirSelector(const wxString& message = wxDirSelectorPromptStr, const wxString& default_path = "", long style = 0, const wxPoint& pos = wxDefaultPosition, wxWindow *parent = NULL)
%function wxString wxFileSelector(const wxString& message, const wxString& default_path = "", const wxString& default_filename = "", const wxString& default_extension = "", const wxString& wildcard = "*.*", int flags = 0, wxWindow *parent = NULL, int x = -1, int y = -1)
%function void wxEndBusyCursor()
--- 36,40 ----
// %function wxTipProvider* wxCreateFileTipProvider(const wxString& filename, size_t currentTip)
! %function wxString wxDirSelector(const wxString& message = wxDirSelectorPromptStr, const wxString& default_path = "", long style = wxDD_DEFAULT_STYLE, const wxPoint& pos = wxDefaultPosition, wxWindow *parent = NULL)
%function wxString wxFileSelector(const wxString& message, const wxString& default_path = "", const wxString& default_filename = "", const wxString& default_extension = "", const wxString& wildcard = "*.*", int flags = 0, wxWindow *parent = NULL, int x = -1, int y = -1)
%function void wxEndBusyCursor()
***************
*** 258,262 ****
%define wxDD_DEFAULT_STYLE
! %define wxDD_NEW_DIR_BUTTON
%class %noclassinfo wxDirDialog, wxDialog
--- 258,264 ----
%define wxDD_DEFAULT_STYLE
! !%wxchkver_2_8 %define wxDD_NEW_DIR_BUTTON
! %wxchkver_2_8 %define wxDD_CHANGE_DIR
! %wxchkver_2_8 %define wxDD_DIR_MUST_EXIST
%class %noclassinfo wxDirDialog, wxDialog
Index: file.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/file.i,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** file.i 2 Mar 2007 05:44:22 -0000 1.15
--- file.i 8 Mar 2007 06:26:43 -0000 1.16
***************
*** 275,278 ****
--- 275,279 ----
// %override [bool, string filename] wxDir::GetFirst(const wxString& filespec = "", int flags = wxDIR_DEFAULT)
bool GetFirst(wxString * filename, const wxString& filespec = "", int flags = wxDIR_DEFAULT) const
+ wxString GetName() const
// %override [bool, string filename] wxDir::GetNext()
bool GetNext(wxString * filename) const
***************
*** 281,284 ****
--- 282,290 ----
bool IsOpened() const
bool Open(const wxString& dir)
+
+ %wxchkver_2_8 static wxString FindFirst(const wxString& dirname, const wxString& filespec, int flags = wxDIR_DEFAULT);
+ //%wxchkver_2_8 static wxULongLong GetTotalSize(const wxString &dir, wxArrayString *filesSkipped = NULL);
+
+ // We don't need wxDirTraverser, just use wxDir methods GetFirst, GetNext.
//size_t Traverse(wxDirTraverser& sink, const wxString& filespec = wxEmptyString, int flags = wxDIR_DEFAULT)
%endclass
|