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
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
# to the default catalog path.
|
# to the default catalog path.
|
||||||
if wx.Platform == "__WXMSW__":
|
if wx.Platform == "__WXMSW__":
|
||||||
import os
|
import os
|
||||||
localedir = os.path.join(os.path.split(__file__)[0], "locale")
|
_localedir = os.path.join(os.path.split(__file__)[0], "locale")
|
||||||
Locale_AddCatalogLookupPathPrefix(localedir)
|
Locale.AddCatalogLookupPathPrefix(_localedir)
|
||||||
del os
|
del os
|
||||||
|
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user