diff --git a/docs/latex/wx/wxPython.tex b/docs/latex/wx/wxPython.tex index 9a725ee0be..84c2a75c3d 100644 --- a/docs/latex/wx/wxPython.tex +++ b/docs/latex/wx/wxPython.tex @@ -35,7 +35,7 @@ wxPython is a Python package that can be imported at runtime that includes a collection of Python modules and an extension module (native code). It provides a series of Python classes that mirror (or shadow) many of the wxWindows GUI classes. This extension module -attempts to mirror the class heirarchy of wxWindows as closely as +attempts to mirror the class hierarchy of wxWindows as closely as possible. This means that there is a wxFrame class in wxPython that looks, smells, tastes and acts almost the same as the wxFrame class in the C++ version. diff --git a/src/generic/treectlg.cpp b/src/generic/treectlg.cpp index 4b45a0496c..77219b692b 100644 --- a/src/generic/treectlg.cpp +++ b/src/generic/treectlg.cpp @@ -2190,7 +2190,7 @@ bool wxGenericTreeCtrl::GetBoundingRect(const wxTreeItemId& item, wxRect& rect, bool textOnly) const { - wxCHECK2_MSG( item.IsOk(), FALSE, _T("invalid item in wxGenericTreeCtrl::GetBoundingRect") ); + wxCHECK_MSG( item.IsOk(), FALSE, _T("invalid item in wxGenericTreeCtrl::GetBoundingRect") ); wxGenericTreeItem *i = (wxGenericTreeItem*) item.m_pItem;