]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/wxLayoutConstraints.py
Fixed bug in DnD. wxDragSource will now delete itself when done.
[wxWidgets.git] / utils / wxPython / demo / wxLayoutConstraints.py
index d8f9ed74e3d4dc1534d905f62196925bae8dfccb..8e63a12af2856436cdf4f6d3de51e2d485353c41 100644 (file)
@@ -3,9 +3,9 @@ from wxPython.wx import *
 
 #---------------------------------------------------------------------------
 
-class TestLayoutConstraints(wxWindow):
+class TestLayoutConstraints(wxPanel):
     def __init__(self, parent):
-        wxWindow.__init__(self, parent, -1)
+        wxPanel.__init__(self, parent, -1)
         self.SetAutoLayout(true)
         EVT_BUTTON(self, 100, self.OnButton)