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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user