From c4dae34da879d7d69165beb599e675c083cdd0b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 8 Sep 2012 10:53:16 +0000 Subject: [PATCH] Add MUI_LANGUAGE_NAME to wx/msw/missing.h. Fixes VC6 compilation after r72430. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/missing.h | 4 ++++ src/common/translation.cpp | 1 + 2 files changed, 5 insertions(+) diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index cf7602e817..9efb9f6ab5 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -651,6 +651,10 @@ typedef struct #define INET_E_CODE_INSTALL_SUPPRESSED 0x800C0400L #endif +#ifndef MUI_LANGUAGE_NAME +#define MUI_LANGUAGE_NAME 0x8 +#endif + //We need to check if we are using MinGW or mingw-w64 as their //definitions are different diff --git a/src/common/translation.cpp b/src/common/translation.cpp index ce26443960..de975d5332 100644 --- a/src/common/translation.cpp +++ b/src/common/translation.cpp @@ -54,6 +54,7 @@ #include "wx/dynlib.h" #include "wx/scopedarray.h" #include "wx/msw/wrapwin.h" + #include "wx/msw/missing.h" #endif #ifdef __WXOSX__ #include "wx/osx/core/cfstring.h" -- 2.45.2