Commit 465d89247fd71d898320d454de5f1d246915137f
1 parent
918c8c2b
Exists in
master
and in
6 other branches
FIX: wxPython version under Ubuntu [fix #166]
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
invesalius/invesalius.py
@@ -27,6 +27,9 @@ import sys | @@ -27,6 +27,9 @@ import sys | ||
27 | if sys.platform == 'win32': | 27 | if sys.platform == 'win32': |
28 | import _winreg | 28 | import _winreg |
29 | 29 | ||
30 | +import wxversion | ||
31 | +wxversion.ensureMinimal('2.8-unicode', optionsRequired=True) | ||
32 | + | ||
30 | import wx | 33 | import wx |
31 | import wx.lib.pubsub as ps | 34 | import wx.lib.pubsub as ps |
32 | 35 |