Hi Mattia, thanks a lot for your answer and fix!
Mattia Barbon wrote: > Thanks for narrowsing it down! The problem is that that wxAuiManager > and wxAuiPaneInfo have a DESTROY method that deletes the underlying C++ > object but neither is marked as thread-aware in the typemap. >From my endless expeditions to google.com I had a hunch that it'd be something like that, but actually finding and fixing the bug would have been way beyond me. >> A previous posting I found in the archive of the mailing list hinted at >> AUI being a potential problem. >> >> Is this a wxPerl or a wxwidgets issue? Any ideas on how I can get to the >> bottom of this? I may not have much time nor expertise in things wx, but >> I'm willing to (slowly) go to great lengths to fix this*. > > I just checked in a fix + test for that. Could you try if it works > for you? It compiles and tests okay. However, my application no longer works: It calls methods "SetManagedWindow" and "GetFlags", etc. on the Wx::AuiManager object. That yields a "Can't locate object method "GetFlags" via package "Wx::AuiManager"" fatal error. The Wx::AuiManager->new() call succeeds, however and obviously returns a blessed thing. Data::Dumper tells me it's an empty hash reference. Best regards, Steffen
