X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd91945141be5443ca353a44cb7a6b551f7eaa85..716a5baa6ecd0d5d0c31914567e4da3165ca6ff0:/wxPython/wx/tools/XRCed/globals.py diff --git a/wxPython/wx/tools/XRCed/globals.py b/wxPython/wx/tools/XRCed/globals.py index 0a9ca2856a..ece468e8ce 100644 --- a/wxPython/wx/tools/XRCed/globals.py +++ b/wxPython/wx/tools/XRCed/globals.py @@ -6,14 +6,29 @@ from wxPython.wx import * from wxPython.xrc import * +try: + from wxPython.wizard import * +except: + pass import sys # Global constants progname = 'XRCed' -version = '0.1.4-1' +version = '0.1.7-0' +# 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 = sys.getdefaultencoding() +#defaultEncoding = '' +# you comment above and can uncomment this: +defaultEncoding = wxGetDefaultPyEncoding() try: True