git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59818
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
While usually it is enough -- and more convenient -- to just override
OnAssertFailure(), to handle all assertion failures, including those
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
need to provide your assertion handler function.
This function also provides a simple way to disable all asserts: simply
-// 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
//
// NB: can't use WXUNUSED() here as we're included from wx/defs.h before it is
// defined
// 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
// 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;
if (facename.IsSameAs(wxT("Ms Shell Dlg"), false) ||
facename.IsSameAs(wxT("Ms Shell Dlg 2"), false))
return true;