X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76b8fa1d2077661a6710f532eb141468ab36c1c8..5917d04127f414f0c2cd400581cb1c47395a3479:/wxPython/src/_intl.i?ds=sidebyside diff --git a/wxPython/src/_intl.i b/wxPython/src/_intl.i index 198fc8bfc2..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; @@ -600,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 // -----------