X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6391d30221084cbd7146f8076141b697891b9d4..c33c81c30f732efcf82d682f82e94aea81878641:/include/wx/object.h diff --git a/include/wx/object.h b/include/wx/object.h index 6f5c68ce87..a882a36e6e 100644 --- a/include/wx/object.h +++ b/include/wx/object.h @@ -72,16 +72,9 @@ public: , m_baseInfo1(0) , m_baseInfo2(0) , m_next(sm_first) - { -#ifdef __WXDEBUG__ - if (sm_classTable != NULL) { - wxString msg(_T("too late binding of class info (lazy binding) for ")); - msg += className; - wxFAIL_MSG(msg); - } -#endif - sm_first = this; - } + { sm_first = this; } + + ~wxClassInfo(); wxObject *CreateObject() { return m_objectConstructor ? (*m_objectConstructor)() : 0; }