// 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
// is returned as default GUI font for compatibility
int verMaj;
ff_family = FF_SWISS;
- if(wxGetOsVersion(&verMaj) == wxWINDOWS_NT && verMaj >= 5)
+ if(wxGetOsVersion(&verMaj) == wxOS_WINDOWS_NT && verMaj >= 5)
facename.Add(_T("MS Shell Dlg 2"));
else
facename.Add(_T("MS Shell Dlg"));