]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/object.h
Font dialog fix
[wxWidgets.git] / include / wx / object.h
index 6f5c68ce8723df78dfb64ee013ea038a26532c4c..dc7a6a729e4d2aa8b56182d0c314cbba68db009c 100644 (file)
@@ -72,16 +72,7 @@ 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; }
 
     wxObject *CreateObject() { return m_objectConstructor ? (*m_objectConstructor)() : 0; }