]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/src/_intl_ex.py
1 #----------------------------------------------------------------------------
2 # wxGTK sets the locale when initialized. Doing this at the Python
3 # level should set it up to match what GTK is doing at the C level.
4 if wx
.Platform
== "__WXGTK__":
7 locale
.setlocale(locale
.LC_ALL
, "")
11 # On MSW add the directory where the wxWindows catalogs were installed
12 # to the default catalog path.
13 if wx
.Platform
== "__WXMSW__":
15 localedir
= os
.path
.join(os
.path
.split(__file__
)[0], "locale")
16 Locale_AddCatalogLookupPathPrefix(localedir
)
19 #----------------------------------------------------------------------------