targets/Win32/__init__.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 18 Apr 2016 19:08:29 +0300
changeset 1480 79e54c5dead5
parent 1279 0eb9f8af479f
child 1511 91538d0c242c
permissions -rwxr-xr-x
fix issue, then it wasn't possible to remove functional blocks from
project using right click and popup menu.

The problem is that, PopupMenu was called using IDEFrame object and as
a result item in ProjectTree loosed focus and focus went to IDEFrame.
Therefore later functions couldn't detect which item in ProjectTree
was selected.
from ..toolchain_gcc import toolchain_gcc

class Win32_target(toolchain_gcc):
    dlopen_prefix = ""
    extension = ".dll"
    def getBuilderLDFLAGS(self):
        return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lwinmm"]