Index: core/src/fxge/win32/fx_win32_device.cpp |
diff --git a/core/src/fxge/win32/fx_win32_device.cpp b/core/src/fxge/win32/fx_win32_device.cpp |
index d5f29686c9caf44f5f3c737b58ec2ebb6413cd66..a0ccb83ae4e590f9f6e31517ca160ee213b60959 100644 |
--- a/core/src/fxge/win32/fx_win32_device.cpp |
+++ b/core/src/fxge/win32/fx_win32_device.cpp |
@@ -405,7 +405,7 @@ FX_BOOL CFX_Win32FontInfo::GetFontCharset(void* hFont, int& charset) { |
charset = tm.tmCharSet; |
return TRUE; |
} |
-IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault() { |
+IFX_SystemFontInfo* IFX_SystemFontInfo::CreateDefault(const char** pUnused) { |
return new CFX_Win32FontInfo; |
} |
void CFX_GEModule::InitPlatform() { |
@@ -419,7 +419,7 @@ void CFX_GEModule::InitPlatform() { |
pPlatformData->m_bHalfTone = ver.dwMajorVersion >= 5; |
pPlatformData->m_GdiplusExt.Load(); |
m_pPlatformData = pPlatformData; |
- m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault()); |
+ m_pFontMgr->SetSystemFontInfo(IFX_SystemFontInfo::CreateDefault(nullptr)); |
} |
void CFX_GEModule::DestroyPlatform() { |
delete (CWin32Platform*)m_pPlatformData; |