]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/tools/XRCed/globals.py
version 0.1.7-3
[wxWidgets.git] / wxPython / wx / tools / XRCed / globals.py
index 6ab35862d9ae2df72086b8cd028ff601336f4958..aa405252836c73fdd6709e7cd1f3c022f715d9fa 100644 (file)
@@ -15,12 +15,20 @@ import sys
 # Global constants
 
 progname = 'XRCed'
-version = '0.1.5-2'
+version = '0.1.7-3'
+# Minimal wxWindows version
+MinWxVersion = (2,6,0)
+if wxVERSION[:3] < MinWxVersion:
+    print '''\
+******************************* WARNING **************************************
+  This version of XRCed may not work correctly on your version of wxWindows.
+  Please upgrade wxWindows to %d.%d.%d or higher.
+******************************************************************************''' % MinWxVersion    
+
 # Can be changed to set other default encoding different
-defaultEncoding = ''
+#defaultEncoding = ''
 # you comment above and can uncomment this:
-#import wx
-#defaultEncoding = wx.GetDefaultPyEncoding()
+defaultEncoding = wxGetDefaultPyEncoding()
 
 try:
     True