X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e32d4836066565f3eaba7b8fc3f73080e9f26622..b3fcfa4d89d44425ed28050462c6064100fe7b05:/include/wx/object.h 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) {