]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/_gdi.py
wxPageSetupDialog no longer derives from wxDialog
[wxWidgets.git] / wxPython / src / mac / _gdi.py
index beaa9ce7b65dd26be992bcfdf19410dc4043a7e8..33763328f9b2a6126abbcf9e871232dfdcabae04 100644 (file)
@@ -2347,8 +2347,8 @@ def EncodingConverter_CanConvert(*args, **kwargs):
 # 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
 
 #----------------------------------------------------------------------------