]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/font.cpp
use ES_RIGHT|ES_NUMBER styles for the buddy control as it's used for numeric entry...
[wxWidgets.git] / src / gtk / font.cpp
index 11e7b20c644e18e6132feaad0097a991be110154..94cc8e66d5f6e10f0bd29d7444f2d11ae0429448 100644 (file)
@@ -157,6 +157,8 @@ void wxFontRefData::Init(int pointSize,
 
     m_underlined = underlined;
     m_encoding = encoding;
+    if ( m_encoding == wxFONTENCODING_DEFAULT )
+        m_encoding = wxFont::GetDefaultEncoding();
 
     m_noAA = false;