More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,12 +34,12 @@
|
||||
#include "wx/font.h"
|
||||
#endif
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
|
||||
#include "wx/fontutil.h"
|
||||
#include "wx/fontenum.h"
|
||||
#include "wx/fontmap.h"
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// private classes
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -159,7 +159,10 @@ void wxFontEnumeratorHelper::DoEnumerate()
|
||||
#ifndef __WXMICROWIN__
|
||||
HDC hDC = ::GetDC(NULL);
|
||||
|
||||
#ifdef __WIN32__
|
||||
#ifdef __WXWINCE__
|
||||
::EnumFontFamilies(hDC, m_facename, (wxFONTENUMPROC)wxFontEnumeratorProc,
|
||||
(LPARAM)this) ;
|
||||
#elif defined(__WIN32__)
|
||||
LOGFONT lf;
|
||||
lf.lfCharSet = m_charset;
|
||||
wxStrncpy(lf.lfFaceName, m_facename, WXSIZEOF(lf.lfFaceName));
|
||||
|
Reference in New Issue
Block a user