beremiz

fix Traceback if search icon on library panel is clicked, when no
category/item is selected in the library.

The problem is here, that if nothing is selected method GetSelection()
returns root item, that doesn't have any python data associated with it.
This issue seems to be wx3.0 specified, because it doesn't exist
with wx2.8 on Windows.
<HTML>
<HEAD><meta charset="utf-8" http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>О PLCOpen Editor</TITLE>
</HEAD>
<BODY>
<CENTER>
<IMG SRC="../images/aboutlogo.png">
<BR><BR>
<font size="3">PLCopen Editor сохраняет и загружает XML
проекты,<BR>созданные согласно PLCopen TC6-XML схемам.</font>
<BR><BR>
За подробной информацией обращаться:
<a href="http://www.beremiz.org/">http://www.beremiz.org/</a>
<BR><BR>
</CENTER>
</BODY>
</HTML>