On 17.11.2013 at 19:37 John Labenski wrote:
> On Sun, Nov 17, 2013 at 9:21 AM, Andreas Falkenhahn
> wrote:
>
> Hi,
>
> what's the recommended way to prevent objects from being garbage collected?
> For example, I create a wxImageList and pass it to
> wxNotebook::SetImageList().
> As wxNot
On Sun, Nov 17, 2013 at 9:21 AM, Andreas Falkenhahn
wrote:
> Hi,
>
> what's the recommended way to prevent objects from being garbage collected?
> For example, I create a wxImageList and pass it to
> wxNotebook::SetImageList().
> As wxNotebook::SetImageList() doesn't take ownership of the list it
Hi,
what's the recommended way to prevent objects from being garbage collected?
For example, I create a wxImageList and pass it to wxNotebook::SetImageList().
As wxNotebook::SetImageList() doesn't take ownership of the list it could
happen that the garbage collector kills the wxImageList that I pa