X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80389ff7094bb385733198573fa091db5be480a1..b0d8bfa6cd4042d3ea8680ad0145f79e3cb15268:/wxPython/wx/tools/XRCed/globals.py diff --git a/wxPython/wx/tools/XRCed/globals.py b/wxPython/wx/tools/XRCed/globals.py index e800ff9fdd..d99e823523 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.3-1' +version = '0.1.7-2' +# 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