Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1339,7 +1339,8 @@ extern WXDLLIMPEXP_BASE long wxEncodingToCodepage(wxFontEncoding encoding)
|
||||
case wxFONTENCODING_MACROMANIAN: return 10009;
|
||||
case wxFONTENCODING_UTF7: return 65000;
|
||||
case wxFONTENCODING_UTF8: return 65001;
|
||||
default: return -1;
|
||||
/* to avoid warnings just do nothing and pass to return at the end */
|
||||
default: break;
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user