]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/menu.cpp
Removed --use-temp-file removed from makeg95.env
[wxWidgets.git] / src / os2 / menu.cpp
index 587a60a854e9984085f4ef69221eb710eee82c34..971cff759bad08895d762a46abd45e58b1654476 100644 (file)
@@ -73,7 +73,7 @@ static wxString TextToLabel(const wxString& rTitle)
 {
     wxString Title;
     const wxChar *pc;
-    for (pc = rTitle; *pc != wxT('\0'); pc++ )
+    for (pc = rTitle.c_str(); *pc != wxT('\0'); pc++ )
     {
         if (*pc == wxT('&') )
         {
@@ -85,10 +85,6 @@ static wxString TextToLabel(const wxString& rTitle)
             else
                 Title << wxT('~');
         }
-//         else if (*pc == wxT('/'))
-//         {
-//             Title << wxT('\\');
-//         }
         else
         {
             if ( *pc == wxT('~') )