/////////////////////////////////////////////////////////////////////////////// // Name: wx/localedefs.h // Purpose: Definitions of common locale-related constants and structs. // Author: Vadim Zeitlin // Created: 2021-07-31 (extracted from wx/intl.h) // Copyright: (c) 2021 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_LOCALEDEFS_H_ #define _WX_LOCALEDEFS_H_ // ---------------------------------------------------------------------------- // wxLayoutDirection: used by wxWindow, wxDC etc // ---------------------------------------------------------------------------- // Note that this one must be available even when wxUSE_INTL == 0 as it's used // outside of locale code too. enum wxLayoutDirection { wxLayout_Default, wxLayout_LeftToRight, wxLayout_RightToLeft }; #if wxUSE_INTL #include "wx/string.h" // ---------------------------------------------------------------------------- // wxLocaleCategory: the category of locale settings // ---------------------------------------------------------------------------- enum wxLocaleTagType { // Default (tag as given or else same as wxLOCALE_TAGTYPE_SYSTEM) wxLOCALE_TAGTYPE_DEFAULT, // Default type of the system (platform-dependent) wxLOCALE_TAGTYPE_SYSTEM, // BCP47-like type: [-