]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/menuitem.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / mac / carbon / menuitem.cpp
index 52e68bfdad2c0af0ba9da4c34b1340142053d733..062a2f6edd9b773477c2f657cb232c9414de4f41 100644 (file)
@@ -192,7 +192,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
     m_help        = strHelp;
 
 
-    if ( m_text ==  "E&xit"  ||m_text == "Exit" )
+    if ( m_text ==  "E&xit"  ||m_text == "Exit"  ||m_text.Left(5) == "Exit\t" || m_text.Left(6) == "E&xit\t" )
     {
         m_text = "Quit\tCtrl+Q" ;
     }