--- a/controls/DebugVariablePanel/DebugVariableViewer.py Mon Jun 03 00:18:13 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableViewer.py Mon Jun 03 00:30:55 2013 +0200
@@ -314,11 +314,8 @@
Function called when leaving Viewer
@param event: wx.MouseEvent
"""
- # Check that mouse position is inside Viewer and hide buttons
- x, y = event.GetPosition()
- width, height = self.GetSize()
- if not (0 < x < width - 1 and 0 < y < height - 1):
- self.ShowButtons(False)
+ # Hide buttons
+ self.ShowButtons(False)
event.Skip()
def OnCloseButton(self):