|
From: John L. <jr...@us...> - 2011-04-20 02:39:01
|
Update of /cvsroot/wxlua/wxLua/bindings/wxwidgets
In directory vz-cvs-4.sog:/tmp/cvs-serv25861/bindings/wxwidgets
Modified Files:
wxadv_rules.lua wxaui_aui.i
Log Message:
Delete the wxAuiManager when garbage collected
Index: wxaui_aui.i
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxaui_aui.i,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wxaui_aui.i 1 Oct 2009 04:21:00 -0000 1.5
--- wxaui_aui.i 20 Apr 2011 02:38:58 -0000 1.6
***************
*** 623,627 ****
// wxAuiManager
! %class wxAuiManager, wxEvtHandler
wxAuiManager(wxWindow* managed_wnd = NULL, unsigned int flags = wxAUI_MGR_DEFAULT);
--- 623,627 ----
// wxAuiManager
! %class %delete wxAuiManager, wxEvtHandler
wxAuiManager(wxWindow* managed_wnd = NULL, unsigned int flags = wxAUI_MGR_DEFAULT);
Index: wxadv_rules.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxwidgets/wxadv_rules.lua,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** wxadv_rules.lua 1 Oct 2009 04:21:00 -0000 1.7
--- wxadv_rules.lua 20 Apr 2011 02:38:58 -0000 1.8
***************
*** 67,79 ****
hook_cpp_binding_includes = [[
! #include "wx/wxprec.h"
!
! #ifdef __BORLANDC__
! #pragma hdrstop
! #endif
!
! #ifndef WX_PRECOMP
! #include "wx/wx.h"
! #endif
// Hack to add accessor to get the ref count
--- 67,71 ----
hook_cpp_binding_includes = [[
! #include "wx/window.h"
// Hack to add accessor to get the ref count
|