]> git.saurik.com Git - wxWidgets.git/commitdiff
Little samples updates
authorRobin Dunn <robin@alldunn.com>
Mon, 12 Aug 2002 17:56:45 +0000 (17:56 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 12 Aug 2002 17:56:45 +0000 (17:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/samples/doodle/superdoodle.py
wxPython/samples/frogedit/FrogEdit.py
wxPython/samples/frogedit/FrogEditor.py

index b589e72baa9d3a2a897f39cd0e79cf89f81d4386..1923d136548898e5046a064b99c4dbfc3ef37922 100644 (file)
@@ -261,7 +261,7 @@ class ColourIndicator(wxWindow):
     def __init__(self, parent):
         wxWindow.__init__(self, parent, -1, style=wxSUNKEN_BORDER)
         self.SetBackgroundColour(wxWHITE)
-        self.SetSize(wxSize(-1, 40))
+        self.SetSize(wxSize(-1, 45))
         self.colour = self.thickness = None
         EVT_PAINT(self, self.OnPaint)
 
index 5e2d11d1c68fd2505b5180558f937f4f0a933fb2..ee46be34745da3caad4b2b1676fc2a860d4f94a2 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python
+#!/usr/bin/env python
 
 # simple text editor
 #
@@ -366,4 +366,3 @@ if __name__ == '__main__':
 
     launcher = FrogEditLauncher()
     launcher.Main()
-
index d94e83c6e66a8acd3f03a2dd3e25b489a5dfadda..50196f219114d10fdfcbe8588b228b6a4f493478 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/local/bin/python
 
 # simple text editor
 #
@@ -78,7 +77,7 @@ class FrogEditor(wxEditor):
 
     def SetAltFuncs(self, action):
         wxEditor.SetAltFuncs(self, action)
-        action['x'] = self.Exit 
+        action['x'] = self.Exit
 
     #----------- commands -----------