]> git.saurik.com Git - wxWidgets.git/commit
Don't make private wxGraphicsContext-derived classes dynamically creatable.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:13 +0000 (22:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 9 Oct 2011 22:07:13 +0000 (22:07 +0000)
commit364197e882e328fff368d91a33b1fe2ffc1f7857
tree3996dd5af5960f1bbf9a13e74db818698f97f61b
parent793132080692efd8ddd90f3e88d292d07256a0a2
Don't make private wxGraphicsContext-derived classes dynamically creatable.

This doesn't make any sense because classes such as wxGDIPlusContext,
wxGDIPlusMeasuringContext and wxMacCoreGraphicsContext are private and don't
need to be creatable by name (only renderers potentially need to be) and was
inconsistent with Unix/Cairo backend in which these classes were not dynamic.

So remove wxRTTI macros from them in wxMSW/wxOSX as well as this allows us to
get rid of unnecessary default ctors.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/graphics.cpp
src/osx/carbon/graphics.cpp