mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
PR57: Mainly style changes, a few white space stuff and an xrange to range change.
* Phoenix FONTFAMILY, STYLE, WEIGHT Fixes * PENSTYLE_ & BRUSHSTYLE_ Fixes * Fix FONTWEIGHT to FONTSTYLE typo * Phoenix Deprecations: wx.OPEN to wx.FD_OPEN * Phoenix Deprecations: wx.SAVE to wx.FD_SAVE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,7 +60,7 @@ class TestPanel(wx.Panel):
|
||||
t4.SetInsertionPoint(0)
|
||||
t4.SetStyle(44, 47, wx.TextAttr("RED", "YELLOW"))
|
||||
points = t4.GetFont().GetPointSize() # get the current size
|
||||
f = wx.Font(points+3, wx.ROMAN, wx.ITALIC, wx.BOLD, True)
|
||||
f = wx.Font(points+3, wx.FONTFAMILY_ROMAN, wx.FONTSTYLE_ITALIC, wx.FONTWEIGHT_BOLD, True)
|
||||
t4.SetStyle(63, 77, wx.TextAttr("BLUE", wx.NullColour, f))
|
||||
|
||||
l5 = wx.StaticText(self, -1, "Test Positions")
|
||||
|
||||
Reference in New Issue
Block a user