From 601c163b1c7aa7713b9b7b8d2980fa8857131d54 Mon Sep 17 00:00:00 2001
From: Julian Smart <julian@anthemion.co.uk>
Date: Fri, 25 Aug 2000 09:37:16 +0000
Subject: [PATCH] Typo in doc, wxCHECK2_MSG replaced with wxCHECK_MSG

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/wxPython.tex | 2 +-
 src/generic/treectlg.cpp   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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;
 
-- 
2.50.0

