fixes to handling of the 7 bit ASCII encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,6 +49,17 @@
|
||||
|
||||
wxFontEncoding wxFontBase::ms_encodingDefault = wxFONTENCODING_SYSTEM;
|
||||
|
||||
/* static */
|
||||
void wxFontBase::SetDefaultEncoding(wxFontEncoding encoding)
|
||||
{
|
||||
// GetDefaultEncoding() should return something != wxFONTENCODING_DEFAULT
|
||||
// and, besides, using this value here doesn't make any sense
|
||||
wxCHECK_RET( encoding != wxFONTENCODING_DEFAULT,
|
||||
_T("can't set default encoding to wxFONTENCODING_DEFAULT") );
|
||||
|
||||
ms_encodingDefault = encoding;
|
||||
}
|
||||
|
||||
wxFontBase::~wxFontBase()
|
||||
{
|
||||
// this destructor is required for Darwin
|
||||
|
||||
Reference in New Issue
Block a user