wxMAC, crash in wxListBox
Stefan Csomor
csomor at advancedconcepts.ch
Sat Dec 9 00:57:49 PST 2006
Hi
> RR> Christian Sturmlechner wrote:
> RR>
> RR> > "return dynamic_cast<wxMacListControl*>(m_peer);"
> RR>
> RR> The code uses C++ RTTI ...
> RR>
> RR> > built with: ../configure --with-mac --enable-unicode
> RR> > --disable-shared --enable-debug_flag --disable-debug_info
> RR> > --enable-mem_tracing --enable-no_rtti
> RR>
> RR> ... but you disable it.
>
> Thanks for the explanation, but we still have a problem
> though. Either we should make RTTI mandatory for wxMac port
> or (preferably) avoid using it inside wx itself. Stefan, is
> it really necessary to use dynamic_cast instead of, say,
> wx_dynamic_cast here?
fix committed to CVS HEAD
Thanks,
Stefan
More information about the wx-users
mailing list