mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 19:40:12 +01:00
PR61: Added python shebangs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import wx
|
||||
|
||||
@@ -9,7 +10,7 @@ class MySplitter(wx.SplitterWindow):
|
||||
style = wx.SP_LIVE_UPDATE
|
||||
)
|
||||
self.log = log
|
||||
|
||||
|
||||
self.Bind(wx.EVT_SPLITTER_SASH_POS_CHANGED, self.OnSashChanged)
|
||||
self.Bind(wx.EVT_SPLITTER_SASH_POS_CHANGING, self.OnSashChanging)
|
||||
|
||||
@@ -30,7 +31,7 @@ def runTest(frame, nb, log):
|
||||
#sty = wx.BORDER_NONE
|
||||
#sty = wx.BORDER_SIMPLE
|
||||
sty = wx.BORDER_SUNKEN
|
||||
|
||||
|
||||
p1 = wx.Window(splitter, style=sty)
|
||||
p1.SetBackgroundColour("pink")
|
||||
wx.StaticText(p1, -1, "Panel One", (5,5))
|
||||
|
||||
Reference in New Issue
Block a user