When running samples from the demo standalone you can now add a

--shell to the command line and it will start a PyShell to go with it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-05 00:06:33 +00:00
parent 4395fb21f6
commit 8eca4fef10
132 changed files with 179 additions and 140 deletions

View File

@@ -14,7 +14,8 @@ class MyVListBox(wx.VListBox):
if self.GetSelection() == n:
c = wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHTTEXT)
else:
c = self.GetForegroundColour()#wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHTTEXT)
c = self.GetForegroundColour()#wx.SystemSettings.GetColour(wx.SYS_COLOUR_HIGHLIGHTTEXT)
dc.SetFont(self.GetFont())
dc.SetTextForeground(c)
dc.DrawLabel(self._getItemText(n), rect,
wx.ALIGN_LEFT | wx.ALIGN_CENTER_VERTICAL)
@@ -127,5 +128,5 @@ of HTML for each item when requested.
if __name__ == '__main__':
import sys,os
import run
run.main(['', os.path.basename(sys.argv[0])])
run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])