]> git.saurik.com Git - wxWidgets.git/commitdiff
Stop GCC from complaining about unhandled enumeration values.
authorMattia Barbon <mbarbon@cpan.org>
Sat, 28 Jun 2003 20:56:40 +0000 (20:56 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sat, 28 Jun 2003 20:56:40 +0000 (20:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/utils.cpp

index bc79244d0b09473ff872ecc8d131c66a6be5f862..770ea11fe27f5f0b4bab2ebfd8649d737af5f908 100644 (file)
@@ -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