diff --git a/src/msw/utils.cpp b/src/msw/utils.cpp index bc79244d0b..770ea11fe2 100644 --- a/src/msw/utils.cpp +++ b/src/msw/utils.cpp @@ -1097,6 +1097,8 @@ extern long wxEncodingToCharset(wxFontEncoding encoding) case wxFONTENCODING_CP437: return OEM_CHARSET; + default: // fix GCC warning + return -1; } // no way to translate this encoding into a Windows charset