Re: Abstract classes and RTTI
[email protected] (Robert Roebling)
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <BA9F8FF7.9256%[email protected]> |
Bryan Bulten wrote: > I've added RTTI checking to the Object class, so that Window::Sizer can > be used correctly. > > To compile in Windows, add the /GR flag for RTTI. I've tested it > successfully with VS6. > > Let me know what you think. You should definately not use C++ own RTTI (since that might be unavailable on certain platforms) but use wxWindows own RTTI. This is also how Python does it and I am not aware of any major problem. Robert ------------------------------------------------------- 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