]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
TLW default item changes have changed Enter key processing: it was now handled as...
[wxWidgets.git] / src / msw / font.cpp
index 5fcc96ffc8c6b82c7a739617a6bae6d1c16233a8..ea21ef386a46ee3693c06ac9a84d2e01b74d5bcb 100644 (file)
@@ -414,6 +414,14 @@ void wxFontRefData::Free()
 void wxNativeFontInfo::Init()
 {
     wxZeroMemory(lf);
+
+    // we get better font quality if we use this instead of DEFAULT_QUALITY
+    // apparently without any drawbacks
+#ifdef __WXWINCE__
+    lf.lfQuality = CLEARTYPE_QUALITY;
+#else
+    lf.lfQuality = PROOF_QUALITY;
+#endif
 }
 
 int wxNativeFontInfo::GetPointSize() const