Use wxCLASSINFO() instead of deprecated CLASSINFO().
No real changes, just use the version of the macro with a "wx" prefix. Closes #14356. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1996,7 +1996,7 @@ void wxTreeCtrl::DeleteTextCtrl()
|
||||
wxTextCtrl *wxTreeCtrl::EditLabel(const wxTreeItemId& item,
|
||||
wxClassInfo *textControlClass)
|
||||
{
|
||||
wxASSERT( textControlClass->IsKindOf(CLASSINFO(wxTextCtrl)) );
|
||||
wxASSERT( textControlClass->IsKindOf(wxCLASSINFO(wxTextCtrl)) );
|
||||
|
||||
DeleteTextCtrl();
|
||||
|
||||
@@ -2156,7 +2156,7 @@ void wxTreeCtrl::SortChildren(const wxTreeItemId& item)
|
||||
// may be why as if you don't use the DECLARE_CLASS/IMPLEMENT_CLASS
|
||||
// combo for your derived wxTreeCtrl if will sort without
|
||||
// OnCompareItems
|
||||
if ( GetClassInfo() == CLASSINFO(wxTreeCtrl) )
|
||||
if ( GetClassInfo() == wxCLASSINFO(wxTreeCtrl) )
|
||||
{
|
||||
TreeView_SortChildren(GetHwnd(), HITEM(item), 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user