Fix bug on Windows with srollbars in Viewer
authorlaurent
Fri, 06 Apr 2012 11:08:04 +0200
changeset 669 4d02a5f4e766
parent 668 e858ff2f7862
child 670 c9ccacf35cf1
Fix bug on Windows with srollbars in Viewer
Viewer.py
--- a/Viewer.py	Sun Apr 01 17:08:49 2012 +0200
+++ b/Viewer.py	Fri Apr 06 11:08:04 2012 +0200
@@ -2965,7 +2965,7 @@
 #-------------------------------------------------------------------------------
 
     def OnScrollWindow(self, event):
-        if self.Editor.HasCapture():
+        if self.Editor.HasCapture() and self.StartMousePos:
             return
         if wx.Platform == '__WXMSW__':
             wx.CallAfter(self.RefreshVisibleElements)