]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxHtmlWindow.py
Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly.
[wxWidgets.git] / wxPython / demo / wxHtmlWindow.py
index bdafa03d36a19cbee616cafa9c677636e0108037..5692a76b0b5caf916ffe79b80a14002a73de8866 100644 (file)
@@ -13,7 +13,7 @@ from Main import opj
 # method in the C++ code...)
 class MyHtmlWindow(wxHtmlWindow):
     def __init__(self, parent, id, log):
-        wxHtmlWindow.__init__(self, parent, id)
+        wxHtmlWindow.__init__(self, parent, id, style=wxNO_FULL_REPAINT_ON_RESIZE)
         self.log = log
         EVT_SCROLLWIN( self, self.OnScroll )
 
@@ -45,7 +45,7 @@ class MyHtmlWindow(wxHtmlWindow):
 
 class TestHtmlPanel(wxPanel):
     def __init__(self, parent, frame, log):
-        wxPanel.__init__(self, parent, -1)
+        wxPanel.__init__(self, parent, -1, style=wxNO_FULL_REPAINT_ON_RESIZE)
         self.log = log
         self.frame = frame
         self.cwd = os.path.split(sys.argv[0])[0]
@@ -158,6 +158,7 @@ class TestHtmlPanel(wxPanel):
 
 def runTest(frame, nb, log):
     win = TestHtmlPanel(nb, frame, log)
+    print wxWindow_FindFocus()
     return win