]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/URLDragAndDrop.py
WinCE patches from "Viktor Voroshylo" <viktor@voroshylo.com>
[wxWidgets.git] / wxPython / demo / URLDragAndDrop.py
index 51c1a340ad6c6de7a3e235fbfcc160eb2afc72ec..bb93b95e122f0c3a40cd53c7725f51c41da7c12a 100644 (file)
@@ -42,15 +42,15 @@ class TestPanel(wxPanel):
         text.SetForegroundColour(wxBLUE)
         outsideSizer.Add(text, 0, wxEXPAND|wxALL, 5)
         outsideSizer.Add(wxStaticLine(self, -1), 0, wxEXPAND)
-        outsideSizer.Add(20,20)
+        outsideSizer.Add((20,20))
 
         self.SetFont(wxFont(10, wxSWISS, wxNORMAL, wxBOLD, False))
 
         inSizer = wxFlexGridSizer(2, 2, 5, 5)
         inSizer.AddGrowableCol(0)
 
-        inSizer.Add(20,20)
-        inSizer.Add(20,20)
+        inSizer.Add((20,20))
+        inSizer.Add((20,20))
         inSizer.Add(wxStaticText(self, -1,
                                  "Drag URLs from your browser to\nthis window:",
                                  style = wxALIGN_RIGHT),