From 72516be4ffebfc82f210ea00f02d49c43580a4d7 Mon Sep 17 00:00:00 2001 From: Francesco Montorsi <f18m_cpp217828@yahoo.it> Date: Tue, 24 Mar 2009 21:11:42 +0000 Subject: [PATCH] fix misc typos git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/debug.h | 4 ++-- src/common/fontenumcmn.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/debug.h b/include/wx/debug.h index 41ec9bbba2..29d4deac3b 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -105,7 +105,7 @@ extern WXDLLIMPEXP_DATA_BASE(wxAssertHandler_t) wxTheAssertHandler; While usually it is enough -- and more convenient -- to just override OnAssertFailure(), to handle all assertion failures, including those - occurring even before wxApp object creation of after its destruction you + occurring even before wxApp object creation or after its destruction you need to provide your assertion handler function. This function also provides a simple way to disable all asserts: simply @@ -128,7 +128,7 @@ inline wxAssertHandler_t wxSetAssertHandler(wxAssertHandler_t handler) #else // !wxDEBUG_LEVEL -// provide empty subs in case assertions are completely disabled +// provide empty stubs in case assertions are completely disabled // // NB: can't use WXUNUSED() here as we're included from wx/defs.h before it is // defined diff --git a/src/common/fontenumcmn.cpp b/src/common/fontenumcmn.cpp index aaae1543c4..40e8eb95d2 100644 --- a/src/common/fontenumcmn.cpp +++ b/src/common/fontenumcmn.cpp @@ -89,7 +89,7 @@ bool wxFontEnumerator::IsValidFacename(const wxString &facename) // support locales that have characters that are not contained in code // page 1252. It is not a font but a face name for a nonexistent font." // Thus we need to consider "Ms Shell Dlg" and "Ms Shell Dlg 2" as valid - // font face names even if they are enumerated by wxFontEnumerator + // font face names even if they are not enumerated by wxFontEnumerator if (facename.IsSameAs(wxT("Ms Shell Dlg"), false) || facename.IsSameAs(wxT("Ms Shell Dlg 2"), false)) return true; -- 2.47.2