From: Robin Dunn Date: Fri, 19 Nov 2004 19:23:23 +0000 (+0000) Subject: Use static method for AddCatalogLookupPathPrefix instead of global function X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cde9174af0b266cb21723bc75dc5fb0418a7cc3f?ds=sidebyside Use static method for AddCatalogLookupPathPrefix instead of global function git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_intl_ex.py b/wxPython/src/_intl_ex.py index b58b4e936b..f572dd2549 100644 --- a/wxPython/src/_intl_ex.py +++ b/wxPython/src/_intl_ex.py @@ -3,8 +3,8 @@ # to the default catalog path. if wx.Platform == "__WXMSW__": import os - localedir = os.path.join(os.path.split(__file__)[0], "locale") - Locale_AddCatalogLookupPathPrefix(localedir) + _localedir = os.path.join(os.path.split(__file__)[0], "locale") + Locale.AddCatalogLookupPathPrefix(_localedir) del os #----------------------------------------------------------------------------