]> git.saurik.com Git - wxWidgets.git/commitdiff
Use a panel
authorRobin Dunn <robin@alldunn.com>
Wed, 7 Apr 2004 19:46:59 +0000 (19:46 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 7 Apr 2004 19:46:59 +0000 (19:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/ActiveX_IEHtmlWindow.py

index c55e5f8ff629e68b8ed96434c7b37f64101e6497..698489e04bd4684fc73576efe0ca1c27eeba268b 100644 (file)
@@ -10,9 +10,9 @@ if wx.Platform == '__WXMSW__':
 
 #----------------------------------------------------------------------
 
-class TestPanel(wx.Window):
+class TestPanel(wx.Panel):
     def __init__(self, parent, log, frame=None):
-        wx.Window.__init__(
+        wx.Panel.__init__(
             self, parent, -1,
             style=wx.TAB_TRAVERSAL|wx.CLIP_CHILDREN|wx.NO_FULL_REPAINT_ON_RESIZE
             )