]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/intl.h
Typo.
[wxWidgets.git] / include / wx / intl.h
index 4a1b2b4ab8dc150eedc81b22ee634e28b50025fa..e7dcff8a9175bdb4cd3f789e5e80798a07bb32e5 100644 (file)
 #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"
@@ -302,13 +312,6 @@ enum wxLanguage
 
 // --- --- --- generated code ends here --- --- ---
 
-enum wxLayoutDirection
-{
-    wxLayout_Default,
-    wxLayout_LeftToRight,
-    wxLayout_RightToLeft
-};
-
 // ----------------------------------------------------------------------------
 // wxLanguageInfo: encapsulates wxLanguage to OS native lang.desc.
 //                 translation information
@@ -604,4 +607,3 @@ inline const wxChar *wxGetTranslation(const wxChar *sz1, const wxChar *sz2,
 #endif
 
 #endif // _WX_INTL_H_
-