X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e32d4836066565f3eaba7b8fc3f73080e9f26622..15bc1a64a82f79768174325ae05f4ef4f68f8469:/include/wx/object.h?ds=sidebyside diff --git a/include/wx/object.h b/include/wx/object.h index bc0824541b..acf4956d16 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -340,13 +340,6 @@ name##PluginSentinel m_pluginsentinel; #define wxDynamicCastThis(className) \ (IsKindOf(&className::ms_classInfo) ? (className *)(this) : (className *)0) -#ifdef HAVE_CONST_CAST -#define wxConstCast(obj, className) const_cast(obj) -#else -#define wxConstCast(obj, className) ((className *)(obj)) -#endif - - #ifdef __WXDEBUG__ inline void* wxCheckCast(void *ptr) {