Check for NULL base class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
768dc88a34
commit
469349b5c8
@ -83,8 +83,10 @@ public:
|
|||||||
wxObject *CreateObject() { return m_objectConstructor ? (*m_objectConstructor)() : 0; }
|
wxObject *CreateObject() { return m_objectConstructor ? (*m_objectConstructor)() : 0; }
|
||||||
|
|
||||||
const wxChar *GetClassName() const { return m_className; }
|
const wxChar *GetClassName() const { return m_className; }
|
||||||
const wxChar *GetBaseClassName1() const { return m_baseInfo1->GetClassName(); }
|
const wxChar *GetBaseClassName1() const
|
||||||
const wxChar *GetBaseClassName2() const { return m_baseInfo2->GetClassName(); }
|
{ return m_baseInfo1 ? m_baseInfo1->GetClassName() : NULL; }
|
||||||
|
const wxChar *GetBaseClassName2() const
|
||||||
|
{ return m_baseInfo2 ? m_baseInfo2->GetClassName() : NULL; }
|
||||||
const wxClassInfo *GetBaseClass1() const { return m_baseInfo1; }
|
const wxClassInfo *GetBaseClass1() const { return m_baseInfo1; }
|
||||||
const wxClassInfo *GetBaseClass2() const { return m_baseInfo2; }
|
const wxClassInfo *GetBaseClass2() const { return m_baseInfo2; }
|
||||||
int GetSize() const { return m_objectSize; }
|
int GetSize() const { return m_objectSize; }
|
||||||
|
Loading…
Reference in New Issue
Block a user