Followup: Weakref - details

ATS asteinarson at gmail.com
Sun Feb 10 03:12:18 PST 2008


> 
>  I thought that using wxUSE_WEAKREF with wxObjectEventFunction didn't work
> so will it be really safer? Or did I misunderstood the problem?

For VC 8.0 using wxUSE_WEAKREF and wxObjectEventFunction works if you give 
the compiler the options: "/vmm /vmg" (which disables single inheritance 
optimization).

I don't use eVC but was guessing that the same would be possible there.

 
> A> So, as long as the eVC user gets the message that there's an issue to 
> A> resolve around wxWeakRef and wxObjectEventFunction this is OK. 
> 
>  I must be missing something but what message exactly will he get?

Weak refs untested on eVC and that "/vmm /vmg" could help getting it 
to work. 


> 
>  Thanks,
> VZ
> 








More information about the wx-dev mailing list