diff --git a/Source/Core/DolphinWX/Src/Frame.h b/Source/Core/DolphinWX/Src/Frame.h index 307764a840..7eb36691e4 100644 --- a/Source/Core/DolphinWX/Src/Frame.h +++ b/Source/Core/DolphinWX/Src/Frame.h @@ -145,7 +145,7 @@ class CFrame : public wxFrame int PixelsToPercentage(int,int); void ListChildren(); void ListTopWindows(); - const wxChar * GetMenuLabel(int Id); + wxString GetMenuLabel(int Id); // Perspectives void AddRemoveBlankPage(); diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index 43460f858d..96f243e7cb 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -270,7 +270,7 @@ void CFrame::CreateMenu() SetMenuBar(m_MenuBar); } -const wxChar * CFrame::GetMenuLabel(int Id) +wxString CFrame::GetMenuLabel(int Id) { wxString Label; switch (Id)