Re: Abstract classes and RTTI

"J. Perkins" <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.wxnet
Message-ID <[email protected]>
Bryan Bulten wrote:
> I've added RTTI checking to the Object class, so that Window::Sizer can
> be used correctly.

This is a better fix than the typemap you proposed earlier. An excellent 
addition to the library. However ;) maybe this should use 
wxObject::GetClassInfo() instead? Since it is already part of the wxWin 
library, and we're stuck with it whether we use it or not, I'd be 
inclined to use it rather than add additional overhead. And it should 
work everywhere.

I have been planning some improvements to premake. I will add an RTTI 
option that will set the appropriate flags for the target compiler.

Jason
379




-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.