X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e40298d54ecd5b109222a7c60aa2ef084a304d69..f7f78039d2e18114efdec0abe46dc4ed2d4529a8:/src/mac/menuitem.cpp diff --git a/src/mac/menuitem.cpp b/src/mac/menuitem.cpp index ce04c08eda..807f2a8ee0 100644 --- a/src/mac/menuitem.cpp +++ b/src/mac/menuitem.cpp @@ -48,9 +48,9 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, { // In other languages there is no difference in naming the Exit/Quit menu item between MacOS and Windows guidelines // therefore these item must not be translated - if ( wxStripMenuCodes(m_text).Upper() == "EXIT" ) + if ( wxStripMenuCodes(m_text).Upper() == wxT("EXIT") ) { - m_text = "Quit\tCtrl+Q" ; + m_text =wxT("Quit\tCtrl+Q") ; } m_radioGroup.start = -1; @@ -152,7 +152,7 @@ void wxMenuItem::UncheckRadio() void wxMenuItem::Check(bool bDoCheck) { - wxCHECK_RET( IsCheckable(), "only checkable items may be checked" ); + wxCHECK_RET( IsCheckable(), wxT("only checkable items may be checked") ); if ( m_isChecked != bDoCheck ) {