Define wxNO_RTTI if RTTI support is disabled for g++ or MSVC.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Nov 2009 11:24:09 +0000 (11:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 22 Nov 2009 11:24:09 +0000 (11:24 +0000)
commite55e621ec5f0307cfd46e14af47ec186c4f1034d
treeca142f6109e9b76bca63dbc2bc3df660edbdf85f
parent7d4911333fc8fedcb8d02974394f30e4286b5a56
Define wxNO_RTTI if RTTI support is disabled for g++ or MSVC.

For g++ it could have been possible to define wxNO_RTTI in configure itself
but it seems better/simpler/more maintainable to do it in C++ code. As for
MSVC, we already define wxNO_RTTI correctly if build/msw/makefile.vc is used
but not if (modified or rebaked) project files are used and detecting RTTI
support in the code is the only way to fix it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/platform.h