wxMAC, crash in wxListBox

Stefan Csomor csomor at advancedconcepts.ch
Thu Dec 7 22:34:39 PST 2006


Hi 

> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim at wxwindows.org] 
> Sent: Donnerstag, 7. Dezember 2006 17:31
> To: wxUsers
> Subject: Re[2]: wxMAC, crash in wxListBox
> 
> On Thu, 07 Dec 2006 15:17:57 +0100 Robert Roebling wrote:
> 
> 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?

we don't have a wx_dynamic_cast do we ? only wxDynamicCast ?

Best,

Stefan 




More information about the wx-users mailing list