00001 #---------------------------------------------------------------------------- 00002 # On MSW add the directory where the wxWidgets catalogs were installed 00003 # to the default catalog path. 00004 if wx.Platform == "__WXMSW__": 00005 import os 00006 _localedir = os.path.join(os.path.split(__file__)[0], "locale") 00007 Locale.AddCatalogLookupPathPrefix(_localedir) 00008 del os 00009 00010 #----------------------------------------------------------------------------