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:
Robin Dunn
2014-01-23 00:19:55 +00:00
parent 88066eefc1
commit ea181b5b72
70 changed files with 296 additions and 257 deletions

View File

@@ -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")