diff --git a/include/wx/encinfo.h b/include/wx/encinfo.h index 66b00034e5..176da52e83 100644 --- a/include/wx/encinfo.h +++ b/include/wx/encinfo.h @@ -23,8 +23,8 @@ // Under X, it contains the last 2 elements of the font specifications // (registry and encoding). // -// Under Windows, it contains a number which is one of predefined CHARSET_XXX -// values. +// Under Windows, it contains a number which is one of predefined XXX_CHARSET +// values (https://msdn.microsoft.com/en-us/library/cc250412.aspx). // // Under all platforms it also contains a facename string which should be // used, if not empty, to create fonts in this encoding (this is the only way diff --git a/src/osx/fontutil.cpp b/src/osx/fontutil.cpp index 35d9cdc62b..5828657448 100644 --- a/src/osx/fontutil.cpp +++ b/src/osx/fontutil.cpp @@ -41,8 +41,7 @@ bool wxNativeEncodingInfo::FromString( const wxString& s ) wxString tmp = tokenizer.GetNextToken(); if ( !tmp ) { - // default charset (don't use DEFAULT_CHARSET though because of subtle - // Windows 9x/NT differences in handling it) + // default charset charset = 0; } else