Return a string instead of a wxChar pointer.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5360 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
donkopunchstania 2010-04-14 03:26:18 +00:00
parent 387aba7a6c
commit bfe6e92c15
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ class CFrame : public wxFrame
int PixelsToPercentage(int,int); int PixelsToPercentage(int,int);
void ListChildren(); void ListChildren();
void ListTopWindows(); void ListTopWindows();
const wxChar * GetMenuLabel(int Id); wxString GetMenuLabel(int Id);
// Perspectives // Perspectives
void AddRemoveBlankPage(); void AddRemoveBlankPage();

View File

@ -270,7 +270,7 @@ void CFrame::CreateMenu()
SetMenuBar(m_MenuBar); SetMenuBar(m_MenuBar);
} }
const wxChar * CFrame::GetMenuLabel(int Id) wxString CFrame::GetMenuLabel(int Id)
{ {
wxString Label; wxString Label;
switch (Id) switch (Id)