added and documented wx_const/static_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -544,7 +544,7 @@ public:
|
||||
// get the runtime identity of this object
|
||||
wxClassInfo *GetClassInfo() const
|
||||
{
|
||||
return const_cast<wxClassInfo*>((const wxClassInfo*)m_classInfo);
|
||||
return wx_const_cast(wxClassInfo *, m_classInfo);
|
||||
}
|
||||
|
||||
wxObject* GetSuperClassInstance() const
|
||||
|
Reference in New Issue
Block a user