NativeLib.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 21 Apr 2016 20:42:37 +0300
changeset 1498 b11045a2f17c
parent 944 52a17be9c4d1
child 1511 91538d0c242c
permissions -rw-r--r--
fix deprecation warnings about accessing properties m_x, m_y of wxKeyEvent

/home/beremiz/beremiz/controls/PouInstanceVariablesPanel.py:354: wxPyDeprecationWarning: Accessing deprecated property.
event.m_x = size.width / 2
import os
from POULibrary import POULibrary

class NativeLibrary(POULibrary):
    def GetLibraryPath(self):
        return os.path.join(os.path.split(__file__)[0], "NativeLib.xml")