X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e81b607b4322af54190484aa7ee34112337a344e..d7645bfd20e2b197b2d73043e602f947610e44ff:/wxPython/src/_intl.i

diff --git a/wxPython/src/_intl.i b/wxPython/src/_intl.i
index 4b992086ee..d401c72de2 100644
--- a/wxPython/src/_intl.i
+++ b/wxPython/src/_intl.i
@@ -22,14 +22,6 @@
 //---------------------------------------------------------------------------
 %newgroup
 
-enum wxLayoutDirection
-{
-    wxLayout_Default,
-    wxLayout_LeftToRight,
-    wxLayout_RightToLeft
-};
-
-
 enum wxLanguage
 {
     // user's default/preffered language as got from OS:
@@ -426,6 +418,9 @@ public:
     // Returns 'True' if it was successfully loaded
     bool AddCatalog(const wxString& szDomain);
 
+    // check if the given locale is provided by OS and C run time
+    static bool IsAvailable(int lang);
+    
     // check if the given catalog is loaded
     bool IsLoaded(const wxString& szDomain) const;
 
@@ -466,6 +461,13 @@ public:
     // Returns the current short name for the locale
     const wxString& GetName() const;
 
+    
+    %property(CanonicalName, GetCanonicalName, doc="See `GetCanonicalName`");
+    %property(Language, GetLanguage, doc="See `GetLanguage`");
+    %property(Locale, GetLocale, doc="See `GetLocale`");
+    %property(Name, GetName, doc="See `GetName`");
+    %property(String, GetString, doc="See `GetString`");
+    %property(SysName, GetSysName, doc="See `GetSysName`");
 };
 
 //---------------------------------------------------------------------------
@@ -593,7 +595,7 @@ wxChar *wxPyLocale::GetPluralString(const wxChar *szOrigString,
 class wxPyLocale : public wxLocale
 {
 public:
-    %pythonAppend wxPyLocale "self._setCallbackInfo(self, PyLocale)"
+    %pythonAppend wxPyLocale setCallbackInfo(PyLocale)
 
     // ctor & dtor
     // -----------