blob: b3076355686b892a9fe94f3a44db8389a8e3b575 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff -Naur Mattricks-0.7-orig/Mattricks/Commonwx.py Mattricks-0.7/Mattricks/Commonwx.py
--- Mattricks-0.7-orig/Mattricks/Commonwx.py 2004-04-15 06:20:07.000000000 -0600
+++ Mattricks-0.7/Mattricks/Commonwx.py 2007-12-04 21:05:15.000000000 -0600
@@ -17,6 +17,13 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+try:
+ import wxversion
+ wxversion.select("2.6")
+except Exception, e:
+ print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
+ sys.exit(1)
+
from wxPython.wx import *
from Common import *
|