]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/unichar.h
keep {Left,Middle,Right}Down() methods of wxMouseState which were present in 2.9...
[wxWidgets.git] / include / wx / unichar.h
index 8503c41992bfc518fec780b2c9fc65726de8a0fc..9d0b593bd7918065be26e0ae3008b7d9329d9abb 100644 (file)
@@ -155,7 +155,7 @@ private:
     {
 #if wxUSE_UNICODE
         if ( c < 0x80 )
-            return c;
+            return wx_truncate_cast(char, c);
 
         return ToHi8bit(c);
 #else