-#if !USE_SHARED_LIBRARY
-wxClassInfo wxObject::classwxObject("wxObject", NULL, NULL, sizeof(wxObject), NULL);
-wxClassInfo *wxClassInfo::first = NULL;
-#endif
+ #if defined(__VISAGECPP__)
+ #define DEBUG_PRINTF(NAME) { static int raz=0; \
+ printf( #NAME " %i\n",raz); fflush(stdout); raz++; }
+ #else
+ #define DEBUG_PRINTF(NAME)
+ #endif
+#endif // __WXDEBUG__ || wxUSE_DEBUG_CONTEXT
+
+
+wxClassInfo wxObject::sm_classwxObject( wxT("wxObject"), 0, 0,
+ (int) sizeof(wxObject),
+ (wxObjectConstructorFn) 0 );
+
+wxClassInfo* wxClassInfo::sm_first = NULL;
+wxHashTable* wxClassInfo::sm_classTable = NULL;