]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/doodle/superdoodle.py
corrected getting FSRef associated with the POSIX path in wxString
[wxWidgets.git] / wxPython / samples / doodle / superdoodle.py
index 92fdf37ae8160d609554aabb0a8cc3dd76254fbd..1923d136548898e5046a064b99c4dbfc3ef37922 100644 (file)
@@ -56,13 +56,6 @@ class DoodleFrame(wxFrame):
         self.SetAutoLayout(true)
         self.SetSizer(box)
 
-        EVT_CLOSE(self, self.OnCloseWindow)
-
-
-    def OnCloseWindow(self, event):
-        self.doodle.Cleanup()
-        self.Destroy()
-
 
     def SaveFile(self):
         if self.filename:
@@ -268,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)