summaryrefslogtreecommitdiff
blob: e72dd78ab28bcc162da3a90a8e9f9dc93e7130c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- DSV/DSV.py
+++ DSV/DSV.py
@@ -134,6 +134,13 @@
 os.putenv('LANG', 'C')
 
 try:
+    import wxversion
+    wxversion.select("2.8")
+except Exception, e:
+    print >> sys.stderr, "%s: wxPython 2.8 not installed." %e
+    sys.exit(1)
+
+try:
     from wxPython import wx, grid
 except ImportError:
     wx = None