Generate demo/version.py in the build script.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@74204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-06-13 06:18:20 +00:00
parent ffb6d068fc
commit 4f8e935257
4 changed files with 15 additions and 5 deletions

View File

@@ -1698,7 +1698,7 @@ class wxPythonDemo(wx.Frame):
self.statusBar = self.CreateStatusBar(2)#, wx.ST_SIZEGRIP
self.statusBar.SetStatusWidths([-2, -1])
statusText = "Welcome to wxPython %s"%version.VERSION_STRING
statusText = "Welcome to wxPython %s" % wx.VERSION_STRING
self.statusBar.SetStatusText(statusText, 0)
self.downloadGauge = wx.Gauge(self.statusBar, wx.ID_ANY, 50)
@@ -2206,7 +2206,7 @@ class wxPythonDemo(wx.Frame):
#---------------------------------------------
def OnTreeLeftDown(self, event):
# reset the overview text if the tree item is clicked on again
pt = event.GetPosition();
pt = event.GetPosition()
item, flags = self.tree.HitTest(pt)
if item == self.tree.GetSelection():
self.SetOverview(self.tree.GetItemText(item)+" Overview", self.curOverview)