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"