controls/PouInstanceVariablesPanel.py
changeset 1498 b11045a2f17c
parent 1369 9bd4c783c98d
child 1571 486f94a8032c
--- a/controls/PouInstanceVariablesPanel.py	Thu Apr 21 19:14:28 2016 +0300
+++ b/controls/PouInstanceVariablesPanel.py	Thu Apr 21 20:42:37 2016 +0300
@@ -350,8 +350,8 @@
         self.InstanceChoice.SetFocusFromKbd()
         size = self.InstanceChoice.GetSize()
         event = wx.MouseEvent(wx.EVT_LEFT_DOWN._getEvtType())
-        event.m_x = size.width / 2
-        event.m_y = size.height / 2
+        event.x = size.width / 2
+        event.y = size.height / 2
         event.SetEventObject(self.InstanceChoice)
         #event = wx.KeyEvent(wx.EVT_KEY_DOWN._getEvtType())
         #event.m_keyCode = wx.WXK_SPACE