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:
parent
387aba7a6c
commit
bfe6e92c15
|
@ -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();
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue