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

@@ -88,7 +88,7 @@ class TestPanel(scrolled.ScrolledPanel):
# and the other widgets for collecting data about the gradient
label1 = wx.StaticText(self, -1, "Geometry")
label1.SetFont(wx.FFont(15, wx.SWISS, wx.FONTFLAG_BOLD))
label1.SetFont(wx.FFont(15, wx.FONTFAMILY_SWISS, wx.FONTFLAG_BOLD))
x1 = 0
x2 = self.gpanel.Size.width
y0 = self.gpanel.Size.height / 2
@@ -98,7 +98,7 @@ class TestPanel(scrolled.ScrolledPanel):
self.y2 = wx.TextCtrl(self, value=str(y0), size=(50,-1))
label2 = wx.StaticText(self, -1, "Stops")
label2.SetFont(wx.FFont(15, wx.SWISS, wx.FONTFLAG_BOLD))
label2.SetFont(wx.FFont(15, wx.FONTFAMILY_SWISS, wx.FONTFLAG_BOLD))
firstStop = GradientStopPanel(self, 0.0)
lastStop = GradientStopPanel(self, 1.0, wx.WHITE)
self.stops = [firstStop, lastStop]