From f3314fbcb44e8840cd3353a7f8e22207bf26c03d Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 24 Dec 1999 08:16:31 +0000 Subject: [PATCH] Small changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/msw/generic.rsp | 1 + include/wx/font.h | 1 + src/msw/fontutil.cpp | 8 ++++++++ src/wxvc.dsp | 6 +----- src/wxvc_dll.dsp | 6 +----- 5 files changed, 12 insertions(+), 10 deletions(-) diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp index 60246b5f9d..b70a1f1679 100644 --- a/distrib/msw/generic.rsp +++ b/distrib/msw/generic.rsp @@ -116,6 +116,7 @@ src/zlib/*.3 src/zlib/*.mms include/wx/*.h +include/wx/*.inl include/wx/*.cpp include/wx/protocol/*.h include/wx/wx_setup.vms diff --git a/include/wx/font.h b/include/wx/font.h index cf30f6585d..9b3b5f29cd 100644 --- a/include/wx/font.h +++ b/include/wx/font.h @@ -105,6 +105,7 @@ enum wxFontEncoding wxFONTENCODING_CP855, // another cyrillic encoding wxFONTENCODING_CP866, // and another one // and for Windows + wxFONTENCODING_CP874, // WinThai wxFONTENCODING_CP1250, // WinLatin2 wxFONTENCODING_CP1251, // WinCyrillic wxFONTENCODING_CP1252, // WinLatin1 diff --git a/src/msw/fontutil.cpp b/src/msw/fontutil.cpp index 87acd82949..5fddec59b8 100644 --- a/src/msw/fontutil.cpp +++ b/src/msw/fontutil.cpp @@ -143,6 +143,10 @@ bool wxGetNativeFontEncoding(wxFontEncoding encoding, case wxFONTENCODING_CP1257: info->charset = BALTIC_CHARSET; break; + + case wxFONTENCODING_CP874: + info->charset = THAI_CHARSET; + break; #endif // !Win16 case wxFONTENCODING_CP437: @@ -425,6 +429,10 @@ wxFont wxCreateFontFromLogFont(const LOGFONT *logFont) case TURKISH_CHARSET: fontEncoding = wxFONTENCODING_CP1254; break; + + case THAI_CHARSET: + fontEncoding = wxFONTENCODING_CP437; + break; #endif case OEM_CHARSET: diff --git a/src/wxvc.dsp b/src/wxvc.dsp index 690e86787c..7ff8790d74 100644 --- a/src/wxvc.dsp +++ b/src/wxvc.dsp @@ -113,7 +113,7 @@ SOURCE=.\common\ctrlsub.cpp # End Source File # Begin Source File -SOURCE=.\common\date.cpp +SOURCE=.\common\datetime.cpp # End Source File # Begin Source File @@ -407,10 +407,6 @@ SOURCE=.\common\textfile.cpp # End Source File # Begin Source File -SOURCE=.\common\time.cpp -# End Source File -# Begin Source File - SOURCE=.\common\timercmn.cpp # End Source File # Begin Source File diff --git a/src/wxvc_dll.dsp b/src/wxvc_dll.dsp index e9f76be312..e9e4e824b1 100644 --- a/src/wxvc_dll.dsp +++ b/src/wxvc_dll.dsp @@ -120,7 +120,7 @@ SOURCE=.\common\ctrlsub.cpp # End Source File # Begin Source File -SOURCE=.\common\date.cpp +SOURCE=.\common\datetime.cpp # End Source File # Begin Source File @@ -410,10 +410,6 @@ SOURCE=.\common\textfile.cpp # End Source File # Begin Source File -SOURCE=.\common\time.cpp -# End Source File -# Begin Source File - SOURCE=.\common\timercmn.cpp # End Source File # Begin Source File -- 2.45.2