fixed VC++ warning in release build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-07-01 00:33:20 +00:00
parent 150cb19558
commit ea28b8853b

View File

@ -1105,12 +1105,11 @@ extern long wxEncodingToCharset(wxFontEncoding encoding)
case wxFONTENCODING_CP437:
return OEM_CHARSET;
default: // fix GCC warning
default:
// no way to translate this encoding into a Windows charset
return -1;
}
// no way to translate this encoding into a Windows charset
return -1;
}
// we have 2 versions of wxCharsetToCodepage(): the old one which directly