two changes and some cleanup:

1. DECLARE_ABSTRACT_CLASS() shouldn't declare wxCreateObject() (which is not
   defined by IMPLEMENT_ABSTRACT_CLASS())
2. don't make GetClassInfo() declaration inside DECLARE_CLASS inline in an
   attempt to fix linking problems with HP-UX compiler


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-02-06 01:52:19 +00:00
parent 543ad8984b
commit 14ca93a0d9
2 changed files with 48 additions and 38 deletions

View File

@@ -81,6 +81,11 @@ wxClassInfo wxObject::ms_classInfo( wxT("wxObject"), 0, 0,
wxClassInfo* wxClassInfo::sm_first = NULL;
wxHashTable* wxClassInfo::sm_classTable = NULL;
wxClassInfo *wxObject::GetClassInfo() const
{
return &wxObject::ms_classInfo;
}
// These are here so we can avoid 'always true/false' warnings
// by referring to these instead of true/false
const bool wxTrue = true;