warning fixes + compile on linx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1378 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-12-02 10:50:58 +00:00
parent afbed76fe7
commit dc3f3eb190
4 changed files with 5 additions and 5 deletions

View File

@ -35,10 +35,10 @@ CPatchAddEdit::~CPatchAddEdit()
{
}
void CPatchAddEdit::CreateGUIControls(int selection)
void CPatchAddEdit::CreateGUIControls(int _selection)
{
std::string currentName = onFrame.at(selection).name;
std::vector<PatchEngine::PatchEntry> currentEntries = onFrame.at(selection).entries;
std::string currentName = onFrame.at(_selection).name;
std::vector<PatchEngine::PatchEntry> currentEntries = onFrame.at(_selection).entries;
wxBoxSizer* sEditPatch = new wxBoxSizer(wxVERTICAL);
wxStaticText* EditPatchNameText = new wxStaticText(this, ID_EDITPATCH_NAME_TEXT, _("Name:"), wxDefaultPosition, wxDefaultSize);