beremiz

fix issues in PLCOpenEditor with moving from wxWidgets 2.8 to 3.0

1)
./PLCOpenEditor.py:63: wxPyDeprecationWarning: Using deprecated class PySimpleApp.
app = wx.PySimpleApp()

2)
./PLCOpenEditor.py:475: wxPyDeprecationWarning: Call to deprecated item.
wx.InitAllImageHandlers()

3)
Traceback (most recent call last):
File "./PLCOpenEditor.py", line 480, in
frame = PLCOpenEditor(None, fileOpen=fileOpen)
File "./PLCOpenEditor.py", line 163, in __init__
IDEFrame.__init__(self, parent)
File "/tmp/f/beremiz/IDEFrame.py", line 657, in __init__
self._init_ctrls(parent)
File "/tmp/f/beremiz/IDEFrame.py", line 485, in _init_ctrls
self._init_icon(prnt)
File "/tmp/f/beremiz/IDEFrame.py", line 476, in _init_icon
if self.icon:
AttributeError: 'PLCOpenEditor' object has no attribute 'icon'
<!DOCTYPE html>
<HTML lang="ru">
<HEAD><meta charset="utf-8" http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>О Beremiz</TITLE>
</HEAD>
<BODY>
<CENTER>
<IMG SRC="../images/splash.png">
<BR><BR>
<font size="3">Beremiz - это свободное программное обеспечение для автоматизации.</font>
<BR><BR>
<a href="http://www.beremiz.org/">http://www.beremiz.org/</a>
<BR><BR>
<TABLE border="0" width="480">
<TR>
<TD align="right" valign="top">
Спонсор разработки:
</TD>
<TD align="left" valign="top">
Университет Порту<BR>
<a href="http://www.fe.up.pt/si/web_page.inicial">http://www.fe.up.pt/si/web_page.inicial</a>
</TD>
</TR>
<TR>
<TD colspan="2" align="center">
<BR><BR><BR>
Beremiz распространяется на условиях <BR>
<a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html#SEC1">Стандартной
общественной лицензии GNU (GPL) версии 2</a>
<BR>или (на ваше усмотрение) более поздней версии.
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>