]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menu.cpp
Compile fix for GTK 1.0
[wxWidgets.git] / src / msw / menu.cpp
index 7d926f6ee2d4556acba92709578d664727948540..66cf7c98efde371619796ed56de567fc56b8fd60 100644 (file)
@@ -179,13 +179,13 @@ void wxMenu::Append(wxMenuItem *pItem)
         else {
             if ( current.Len() == 1 ) {
                 // it's a letter
-                keyCode = wxToupper(current[0]);
+                keyCode = wxToupper(current[0U]);
             }
             else {
                 // it should be a function key
-                if ( current[0] == 'f' && isdigit(current[1]) &&
+                if ( current[0U] == 'f' && isdigit(current[1U]) &&
                      (current.Len() == 2 ||
-                     (current.Len() == 3 && isdigit(current[2]))) ) {
+                     (current.Len() == 3 && isdigit(current[2U]))) ) {
                     int n;
                     sscanf(current.c_str() + 1, "%d", &n);