]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxHtmlWindow.py
correction for Mac OS X compilation
[wxWidgets.git] / wxPython / demo / wxHtmlWindow.py
index eb2aac73e3f64761e873b456ee90974cd303c9ef..e2e902d865b3cb567204b0bec86d597ba319675a 100644 (file)
@@ -13,6 +13,12 @@ class MyHtmlWindow(wxHtmlWindow):
     def __init__(self, parent, id, log):
         wxHtmlWindow.__init__(self, parent, id)
         self.log = log
+        EVT_SCROLLWIN( self, self.OnScroll )
+
+    def OnScroll( self, event ):
+        print 'event.GetOrientation()',event.GetOrientation()
+        print 'event.GetPosition()',event.GetPosition()
+        event.Skip()
 
 
     def OnLinkClicked(self, linkinfo):