controls/PouInstanceVariablesPanel.py
branchwxPython4
changeset 3307 eeec6e0ea269
parent 3303 0ffb41625592
child 3657 e0d6f5f0dcc2
--- a/controls/PouInstanceVariablesPanel.py	Sun Sep 05 05:43:17 2021 +0200
+++ b/controls/PouInstanceVariablesPanel.py	Sun Sep 05 15:24:14 2021 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#.!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
 # This file is part of Beremiz, a Integrated Development Environment for
@@ -93,7 +93,7 @@
             rect = wx.Rect(images_bbx.x + 4, images_bbx.y + 4,
                            r_image_w, r_image_h)
             for r_image in rightimages:
-                if rect.Inside(point):
+                if rect.Contains(point):
                     return r_image
                 rect.x += r_image_w + 4