Revert back to standard point size for fonts in OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -442,12 +442,9 @@ void wxInitializeStockObjects ()
|
|||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
#if defined(__WXMAC__)
|
#if defined(__WXMAC__) || defined(__WXPM__)
|
||||||
static const int sizeFont = 12;
|
static const int sizeFont = 12;
|
||||||
wxNORMAL_FONT = new wxFont (sizeFont, wxMODERN, wxNORMAL, wxNORMAL);
|
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
|
#else
|
||||||
wxNORMAL_FONT = new wxFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
wxNORMAL_FONT = new wxFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
||||||
static const int sizeFont = wxNORMAL_FONT->GetPointSize();
|
static const int sizeFont = wxNORMAL_FONT->GetPointSize();
|
||||||
|
Reference in New Issue
Block a user