don't check any particular wx version
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 25 Aug 2017 12:01:23 +0300
changeset 1790 47fc06c13b37
parent 1789 492e2cd6157e
child 1791 3216ed1ba1f7
don't check any particular wx version

Beremiz works with any version of wx.
Beremiz.py
Beremiz_service.py
--- a/Beremiz.py	Fri Aug 25 11:22:08 2017 +0300
+++ b/Beremiz.py	Fri Aug 25 12:01:23 2017 +0300
@@ -112,9 +112,7 @@
         else:
             __builtin__.__dict__["BMZ_DBG"] = False
 
-        global wxversion, wx
-        import wxversion
-        wxversion.select(['2.8', '3.0'])
+        global wx
         import wx
 
         if wx.VERSION >= (3, 0, 0):
--- a/Beremiz_service.py	Fri Aug 25 11:22:08 2017 +0300
+++ b/Beremiz_service.py	Fri Aug 25 12:01:23 2017 +0300
@@ -169,8 +169,6 @@
 
 if enablewx:
     try:
-        import wxversion
-        wxversion.select(['2.8', '3.0'])
         import wx
         havewx = True
     except ImportError: