mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1754 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -41,7 +41,7 @@ CPatchAddEdit::~CPatchAddEdit()
|
|||||||
|
|
||||||
void CPatchAddEdit::CreateGUIControls(int _selection)
|
void CPatchAddEdit::CreateGUIControls(int _selection)
|
||||||
{
|
{
|
||||||
std::string currentName = _("<Insert name here>");
|
wxString currentName = wxT("<Insert name here>");
|
||||||
|
|
||||||
if (_selection == -1)
|
if (_selection == -1)
|
||||||
{
|
{
|
||||||
@ -49,14 +49,14 @@ void CPatchAddEdit::CreateGUIControls(int _selection)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
currentName = onFrame.at(_selection).name;
|
currentName = wxString::FromAscii(onFrame.at(_selection).name.c_str());
|
||||||
tempEntries = onFrame.at(_selection).entries;
|
tempEntries = onFrame.at(_selection).entries;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxBoxSizer* sEditPatch = new wxBoxSizer(wxVERTICAL);
|
wxBoxSizer* sEditPatch = new wxBoxSizer(wxVERTICAL);
|
||||||
wxStaticText* EditPatchNameText = new wxStaticText(this, ID_EDITPATCH_NAME_TEXT, _("Name:"), wxDefaultPosition, wxDefaultSize);
|
wxStaticText* EditPatchNameText = new wxStaticText(this, ID_EDITPATCH_NAME_TEXT, _("Name:"), wxDefaultPosition, wxDefaultSize);
|
||||||
EditPatchName = new wxTextCtrl(this, ID_EDITPATCH_NAME, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
|
EditPatchName = new wxTextCtrl(this, ID_EDITPATCH_NAME, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
|
||||||
EditPatchName->SetValue(wxString::FromAscii(currentName.c_str()));
|
EditPatchName->SetValue(currentName);
|
||||||
wxStaticText* EditPatchOffsetText = new wxStaticText(this, ID_EDITPATCH_OFFSET_TEXT, _("Offset:"), wxDefaultPosition, wxDefaultSize);
|
wxStaticText* EditPatchOffsetText = new wxStaticText(this, ID_EDITPATCH_OFFSET_TEXT, _("Offset:"), wxDefaultPosition, wxDefaultSize);
|
||||||
EditPatchOffset = new wxTextCtrl(this, ID_EDITPATCH_OFFSET, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
|
EditPatchOffset = new wxTextCtrl(this, ID_EDITPATCH_OFFSET, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0);
|
||||||
EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), tempEntries.at(0).address));
|
EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), tempEntries.at(0).address));
|
||||||
|
@ -19,6 +19,6 @@ if padeenv['HAVE_WX']:
|
|||||||
"GUI/ConfigDlg.cpp",
|
"GUI/ConfigDlg.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
padeenv.Append(LIBS = [ 'common', 'core' ])
|
padeenv.Append(LIBS = [ 'core', 'common' ])
|
||||||
|
|
||||||
padeenv.SharedLibrary(env['plugin_dir']+name, files)
|
padeenv.SharedLibrary(env['plugin_dir']+name, files)
|
||||||
|
Reference in New Issue
Block a user