Build fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-09-04 19:22:57 +00:00
parent d92c8cd971
commit b137e49318
6 changed files with 29 additions and 15 deletions

View File

@@ -16,6 +16,16 @@
#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_