diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index ff6b6c1c97..eb624126c2 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -64,6 +64,11 @@ #include #endif +// old mingw32 doesn't define this +#ifndef CFM_CHARSET + #define CFM_CHARSET 0x08000000 +#endif // CFM_CHARSET + // ---------------------------------------------------------------------------- // private classes // ----------------------------------------------------------------------------