]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontenum.cpp
Added ability to switch off more components of the size page UI
[wxWidgets.git] / src / msw / fontenum.cpp
index 3c936a11feee1f4946de40842ef53463f56eef89..7ebc115010aeb093a6c3199d3a3338e65badd1a9 100644 (file)
@@ -160,7 +160,7 @@ void wxFontEnumeratorHelper::DoEnumerate()
 
 #ifdef __WXWINCE__
     ::EnumFontFamilies(hDC,
 
 #ifdef __WXWINCE__
     ::EnumFontFamilies(hDC,
-                       m_facename.empty() ? NULL : m_facename.wx_str(),
+                       m_facename.empty() ? NULL : wxMSW_CONV_LPCTSTR(m_facename),
                        (wxFONTENUMPROC)wxFontEnumeratorProc,
                        (LPARAM)this) ;
 #else // __WIN32__
                        (wxFONTENUMPROC)wxFontEnumeratorProc,
                        (LPARAM)this) ;
 #else // __WIN32__