On Tue, Mar 4, 2008 at 9:58 PM, marcos <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I get a exception error (memory) on close the app. or on garbage
>  collection when I use cell renderer or editor.
>
>  For emulate the error add on the grid.wx.lua sample (row 58) the next code.
>
>  ----------------------------------
>  ...
>  rend = wx.wxGridCellBoolRenderer()
>  grid:SetCellRenderer(1, 1, rend)
>
>  edit = wx.wxGridCellBoolEditor()
>  grid:SetCellEditor(1, 1, edit)
>
>  frame:Show(true)
>  ----------------------------------

Thanks for reporting this. The wxGrid can cause a lot of headaches
about the ownership of various attributes, editors, and renderers
since different functions may take ownership of the pointer and delete
it while others do not. I hope I got them all this time around.

Fixed in CVS.

-John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to