]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontenumcmn.cpp
Use Ok/Cancel dialog instead of Yes/No one in CheckFit().
[wxWidgets.git] / src / common / fontenumcmn.cpp
index aaae1543c403f8b0a77e16b4336da6e702b9e61f..b5555007102d6928961fe3094237fa82f7928af4 100644 (file)
@@ -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
     //     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;
@@ -107,7 +107,7 @@ bool wxFontEnumerator::EnumerateEncodingsUTF8(const wxString& facename)
 {
     // name of UTF-8 encoding: no need to use wxFontMapper for it as it's
     // unlikely to change
 {
     // name of UTF-8 encoding: no need to use wxFontMapper for it as it's
     // unlikely to change
-    const wxString utf8(_T("UTF-8"));
+    const wxString utf8(wxT("UTF-8"));
 
     // all fonts are in UTF-8 only if this code is used
     if ( !facename.empty() )
 
     // all fonts are in UTF-8 only if this code is used
     if ( !facename.empty() )