#include "wx/defs.h"
#include "wx/string.h"
+// Make wxLayoutDirection enum available without need for wxUSE_INTL so wxWindow, wxApp
+// and other classes are not distrubed by wxUSE_INTL
+
+enum wxLayoutDirection
+{
+ wxLayout_Default,
+ wxLayout_LeftToRight,
+ wxLayout_RightToLeft
+};
+
#if wxUSE_INTL
#include "wx/fontenc.h"
WinSublang;
#endif // __WIN32__
wxString Description; // human-readable name of the language
+ wxLayoutDirection LayoutDirection;
};
// ----------------------------------------------------------------------------
bool AddCatalog(const wxChar *szDomain,
wxLanguage msgIdLanguage, const wxChar *msgIdCharset);
+ // 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 wxChar *szDomain) const;
#endif
#endif // _WX_INTL_H_
-