simplified font settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10,14 +10,9 @@ from wxPython.xrc import *
|
|||||||
# Global constants
|
# Global constants
|
||||||
|
|
||||||
sysFont = wxSystemSettings_GetFont(wxSYS_SYSTEM_FONT)
|
sysFont = wxSystemSettings_GetFont(wxSYS_SYSTEM_FONT)
|
||||||
if wxPlatform == '__WXGTK__':
|
|
||||||
labelFont = wxFont(sysFont.GetPointSize(), wxDEFAULT, wxNORMAL, wxBOLD)
|
labelFont = wxFont(sysFont.GetPointSize(), wxDEFAULT, wxNORMAL, wxBOLD)
|
||||||
modernFont = wxFont(sysFont.GetPointSize(), wxMODERN, wxNORMAL, wxNORMAL)
|
modernFont = wxFont(sysFont.GetPointSize(), wxMODERN, wxNORMAL, wxNORMAL)
|
||||||
smallerFont = wxFont(sysFont.GetPointSize() - 2, wxDEFAULT, wxNORMAL, wxNORMAL)
|
smallerFont = wxFont(sysFont.GetPointSize() - 2, wxDEFAULT, wxNORMAL, wxNORMAL)
|
||||||
else:
|
|
||||||
labelFont = wxFont(10, wxDEFAULT, wxNORMAL, wxBOLD)
|
|
||||||
modernFont = wxFont(10, wxMODERN, wxNORMAL, wxNORMAL)
|
|
||||||
smallerFont = wxFont(8, wxDEFAULT, wxNORMAL, wxNORMAL)
|
|
||||||
|
|
||||||
progname = 'XRCed'
|
progname = 'XRCed'
|
||||||
version = '0.1.0'
|
version = '0.1.0'
|
||||||
|
Reference in New Issue
Block a user