X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289128a4fb1383e46d3478d605bd574a89aeb548..b843b628c9f936d6a87ca1e9b91e88a4604270c4:/wxPython/wx/tools/XRCed/globals.py diff --git a/wxPython/wx/tools/XRCed/globals.py b/wxPython/wx/tools/XRCed/globals.py index 74ac8bd28f..0a9ca2856a 100644 --- a/wxPython/wx/tools/XRCed/globals.py +++ b/wxPython/wx/tools/XRCed/globals.py @@ -11,7 +11,9 @@ import sys # Global constants progname = 'XRCed' -version = '0.1.2-1' +version = '0.1.4-1' +# Can be changed to set other default encoding different +defaultEncoding = sys.getdefaultencoding() try: True @@ -30,7 +32,7 @@ class Globals: testWin = None testWinPos = wxDefaultPosition currentXXX = None - currentEncoding = sys.getdefaultencoding() # wxLocale_GetSystemEncodingName() + currentEncoding = defaultEncoding def _makeFonts(self): self._sysFont = wxSystemSettings_GetFont(wxSYS_SYSTEM_FONT) @@ -51,6 +53,5 @@ class Globals: if not hasattr(self, "_smallerFont"): self._makeFonts() return self._smallerFont - g = Globals()