On 7/15/07, marcos wurzius <[EMAIL PROTECTED]> wrote:
>
> I have a problem.
> I have a big wxLua app. The main wxFrame have a wxNotebook with images.
> When garbage is collected, then the images disapeared.
> Help me, please.

I assume you're talking about a wxImageList used for the icons on the
notebook tabs? If so then you cannot make that variable local since
the wxNotebook does not take ownership of it nor does it copy it and
so it must exist for the life of the wxNotebook.

http://www.wxwidgets.org/manuals/stable/wx_wxnotebook.html#wxnotebooksetimagelist

If you mean something else then you'll have to provide more details.

Regards,
    John Labenski

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to