From 0c5326329811eba39f7bb8b6e5ae14be79b804b2 Mon Sep 17 00:00:00 2001 From: David Webster Date: Tue, 22 Jan 2002 23:18:38 +0000 Subject: [PATCH] Font change for OS/2 to a smaller font. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/gdicmn.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 91cdb4ae8c..d3e49f82c6 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -442,9 +442,12 @@ void wxInitializeStockObjects () #else #endif */ -#if defined(__WXPM__) || defined(__WXMAC__) +#if defined(__WXMAC__) static const int sizeFont = 12; wxNORMAL_FONT = new wxFont (sizeFont, wxMODERN, wxNORMAL, wxNORMAL); +#elif defined(__WXPM__) + static const int sizeFont = 10; + wxNORMAL_FONT = new wxFont (sizeFont, wxMODERN, wxNORMAL, wxNORMAL); #else wxNORMAL_FONT = new wxFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT)); static const int sizeFont = wxNORMAL_FONT->GetPointSize(); -- 2.50.0