]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/CustomDragAndDrop.py
Reworked how stock objects are initialized. They now have an
[wxWidgets.git] / wxPython / demo / CustomDragAndDrop.py
index 2ff049640eb3e8b52e458427350391c4d2507dbe..fcb094728724782ccd01e427bb921dc4f73abf45 100644 (file)
@@ -247,10 +247,10 @@ class CustomDnDPanel(wx.Panel):
 
         rbox.Add(rb1)
         rbox.Add(rb2)
-        box.Add(text1, 0, wxALL, 10)
-        box.Add(rbox, 0, wxALIGN_CENTER)
+        box.Add(text1, 0, wx.ALL, 10)
+        box.Add(rbox, 0, wx.ALIGN_CENTER)
         box.Add((10,90))
-        box.Add(text2, 0, wxALL, 10)
+        box.Add(text2, 0, wx.ALL, 10)
 
         sizer.Add(box)