From: Stefan Csomor Date: Wed, 8 May 2002 22:53:41 +0000 (+0000) Subject: added small font for wxSWISS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/955e5433320b462cb99440f100547b6db93f3c15 added small font for wxSWISS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/gdicmn.cpp b/src/common/gdicmn.cpp index 48cd85ace6..cd7fc0ea37 100644 --- a/src/common/gdicmn.cpp +++ b/src/common/gdicmn.cpp @@ -468,6 +468,10 @@ void wxInitializeStockObjects () wxSMALL_FONT = new wxFont (sizeFont - 4, wxMODERN, wxNORMAL, wxNORMAL); /* System VIO */ wxITALIC_FONT = new wxFont (sizeFont, wxROMAN, wxITALIC, wxNORMAL); wxSWISS_FONT = new wxFont (sizeFont, wxSWISS, wxNORMAL, wxNORMAL); /* Helv */ +#elif defined(__WXMAC__) + wxSMALL_FONT = new wxFont (sizeFont - 2, wxSWISS, wxNORMAL, wxNORMAL); + wxITALIC_FONT = new wxFont (sizeFont, wxROMAN, wxITALIC, wxNORMAL); + wxSWISS_FONT = new wxFont (sizeFont - 2, wxSWISS, wxNORMAL, wxNORMAL); #else wxSMALL_FONT = new wxFont (sizeFont - 2, wxSWISS, wxNORMAL, wxNORMAL); wxITALIC_FONT = new wxFont (sizeFont, wxROMAN, wxITALIC, wxNORMAL);