Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory vz-cvs-4.sog:/tmp/cvs-serv32470/bindings/wxwidgets
Modified Files:
wxbase_file.i
Log Message:
Apply patch from bug report "memory leak from wxFileSystem::OpenFile (with patch)"
Index: wxbase_file.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxbase_file.i,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** wxbase_file.i 1 Oct 2009 04:21:00 -0000 1.7
--- wxbase_file.i 10 Jun 2011 03:16:32 -0000 1.8
***************
*** 972,976 ****
// (based on ChangePathTo()'s value) and then as an absolute
// path.
! wxFSFile* OpenFile(const wxString& location, int flags = wxFS_READ);
// Finds first/next file that matches spec wildcard. flags can be wxDIR for restricting
--- 972,976 ----
// (based on ChangePathTo()'s value) and then as an absolute
// path.
! %gc wxFSFile* OpenFile(const wxString& location, int flags = wxFS_READ);
// Finds first/next file that matches spec wildcard. flags can be wxDIR for restricting
|