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:
@@ -41,7 +41,7 @@ class TestPanel(wx.Panel):
|
||||
# Also, this one is fancier, with custom colors and bezel size.
|
||||
b = buttons.GenButton(self, -1, 'bigger')
|
||||
self.Bind(wx.EVT_BUTTON, self.OnBiggerButton, b)
|
||||
b.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.BOLD, False))
|
||||
b.SetFont(wx.Font(20, wx.FONTFAMILY_SWISS, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_BOLD, False))
|
||||
b.SetBezelWidth(5)
|
||||
b.SetMinSize(wx.DefaultSize)
|
||||
b.SetBackgroundColour("Navy")
|
||||
|
||||
Reference in New Issue
Block a user