//---------------------------------------------------------------------------
%newgroup
-enum wxLayoutDirection
-{
- wxLayout_Default,
- wxLayout_LeftToRight,
- wxLayout_RightToLeft
-};
-
-
enum wxLanguage
{
// user's default/preffered language as got from OS:
// 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;
class wxPyLocale : public wxLocale
{
public:
- %pythonAppend wxPyLocale "self._setCallbackInfo(self, PyLocale)"
+ %pythonAppend wxPyLocale setCallbackInfo(PyLocale)
// ctor & dtor
// -----------