fix misc typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,7 +105,7 @@ extern WXDLLIMPEXP_DATA_BASE(wxAssertHandler_t) wxTheAssertHandler;
|
|||||||
|
|
||||||
While usually it is enough -- and more convenient -- to just override
|
While usually it is enough -- and more convenient -- to just override
|
||||||
OnAssertFailure(), to handle all assertion failures, including those
|
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.
|
need to provide your assertion handler function.
|
||||||
|
|
||||||
This function also provides a simple way to disable all asserts: simply
|
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
|
#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
|
// NB: can't use WXUNUSED() here as we're included from wx/defs.h before it is
|
||||||
// defined
|
// defined
|
||||||
|
@@ -89,7 +89,7 @@ bool wxFontEnumerator::IsValidFacename(const wxString &facename)
|
|||||||
// support locales that have characters that are not contained in code
|
// 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."
|
// 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
|
// 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) ||
|
if (facename.IsSameAs(wxT("Ms Shell Dlg"), false) ||
|
||||||
facename.IsSameAs(wxT("Ms Shell Dlg 2"), false))
|
facename.IsSameAs(wxT("Ms Shell Dlg 2"), false))
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user