Using wxGetTranslation().wx_str() doesn't work when wxUSE_INTL==0.
Closes #11142.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61763
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
inserted = true;
::InsertMenu(hmenu, i, MF_BYPOSITION | MF_POPUP | MF_STRING,
(UINT_PTR)menuWin,
inserted = true;
::InsertMenu(hmenu, i, MF_BYPOSITION | MF_POPUP | MF_STRING,
(UINT_PTR)menuWin,
- wxGetTranslation(WINDOW_MENU_LABEL).wx_str());
+ wxString(wxGetTranslation(WINDOW_MENU_LABEL)).wx_str());
{
::AppendMenu(hmenu, MF_POPUP,
(UINT_PTR)menuWin,
{
::AppendMenu(hmenu, MF_POPUP,
(UINT_PTR)menuWin,
- wxGetTranslation(WINDOW_MENU_LABEL).wx_str());
+ wxString(wxGetTranslation(WINDOW_MENU_LABEL)).wx_str());