PLCOpen editor: fix exception when using file open dialog
Consequence of wxPython 3 to 4 API changes.
Edit PLC program================POU languages and type----------------------POU interfaces--------------Global variables----------------Located variables-----------------Resources, task and instances-----------------------------Copy-paste----------