ISOProperties: Remove unnecessary/unused variables & controls.

This commit is contained in:
Lioncash 2015-04-10 19:49:09 -04:00
parent 1a18cad178
commit 5d7cd29a8b
2 changed files with 4 additions and 14 deletions

View File

@ -479,7 +479,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
// Patches // Patches
wxBoxSizer* const sPatches = new wxBoxSizer(wxVERTICAL); wxBoxSizer* const sPatches = new wxBoxSizer(wxVERTICAL);
Patches = new wxCheckListBox(m_PatchPage, ID_PATCHES_LIST, wxDefaultPosition, wxDefaultSize, arrayStringFor_Patches, wxLB_HSCROLL); Patches = new wxCheckListBox(m_PatchPage, ID_PATCHES_LIST, wxDefaultPosition, wxDefaultSize, 0, nullptr, wxLB_HSCROLL);
wxBoxSizer* const sPatchButtons = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer* const sPatchButtons = new wxBoxSizer(wxHORIZONTAL);
EditPatch = new wxButton(m_PatchPage, ID_EDITPATCH, _("Edit...")); EditPatch = new wxButton(m_PatchPage, ID_EDITPATCH, _("Edit..."));
wxButton* const AddPatch = new wxButton(m_PatchPage, ID_ADDPATCH, _("Add...")); wxButton* const AddPatch = new wxButton(m_PatchPage, ID_ADDPATCH, _("Add..."));
@ -500,7 +500,7 @@ void CISOProperties::CreateGUIControls(bool IsWad)
// Action Replay Cheats // Action Replay Cheats
wxBoxSizer * const sCheats = new wxBoxSizer(wxVERTICAL); wxBoxSizer * const sCheats = new wxBoxSizer(wxVERTICAL);
Cheats = new wxCheckListBox(m_CheatPage, ID_CHEATS_LIST, wxDefaultPosition, wxDefaultSize, arrayStringFor_Cheats, wxLB_HSCROLL); Cheats = new wxCheckListBox(m_CheatPage, ID_CHEATS_LIST, wxDefaultPosition, wxDefaultSize, 0, nullptr, wxLB_HSCROLL);
wxBoxSizer * const sCheatButtons = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer * const sCheatButtons = new wxBoxSizer(wxHORIZONTAL);
EditCheat = new wxButton(m_CheatPage, ID_EDITCHEAT, _("Edit...")); EditCheat = new wxButton(m_CheatPage, ID_EDITCHEAT, _("Edit..."));
wxButton * const AddCheat = new wxButton(m_CheatPage, ID_ADDCHEAT, _("Add...")); wxButton * const AddCheat = new wxButton(m_CheatPage, ID_ADDCHEAT, _("Add..."));

View File

@ -40,8 +40,6 @@ class wxWindow;
namespace DiscIO { struct SFileInfo; } namespace DiscIO { struct SFileInfo; }
namespace Gecko { class CodeConfigPanel; } namespace Gecko { class CodeConfigPanel; }
extern std::vector<ActionReplay::ARCode> arCodes;
struct WiiPartition struct WiiPartition
{ {
DiscIO::IVolume *Partition; DiscIO::IVolume *Partition;
@ -56,7 +54,6 @@ struct PHackData
std::string PHZNear; std::string PHZNear;
std::string PHZFar; std::string PHZFar;
}; };
extern PHackData PHack_Data;
class CISOProperties : public wxDialog class CISOProperties : public wxDialog
{ {
@ -75,8 +72,6 @@ public:
void ActionReplayList_Load(); void ActionReplayList_Load();
bool SaveGameConfig(); bool SaveGameConfig();
PHackData PHack_Data;
private: private:
DECLARE_EVENT_TABLE(); DECLARE_EVENT_TABLE();
@ -106,19 +101,14 @@ private:
wxArrayString arrayStringFor_EmuState; wxArrayString arrayStringFor_EmuState;
wxChoice* EmuState; wxChoice* EmuState;
wxTextCtrl* EmuIssues; wxTextCtrl* EmuIssues;
wxArrayString arrayStringFor_Patches;
wxCheckListBox* Patches; wxCheckListBox* Patches;
wxButton* EditPatch; wxButton* EditPatch;
wxButton* RemovePatch; wxButton* RemovePatch;
wxArrayString arrayStringFor_Cheats;
wxCheckListBox* Cheats; wxCheckListBox* Cheats;
wxButton* EditCheat; wxButton* EditCheat;
wxButton* RemoveCheat; wxButton* RemoveCheat;
wxArrayString arrayStringFor_Speedhacks;
wxCheckListBox* Speedhacks;
wxButton* EditSpeedhack;
wxButton* AddSpeedhack;
wxButton* RemoveSpeedhack;
wxTextCtrl* m_Name; wxTextCtrl* m_Name;
wxTextCtrl* m_GameID; wxTextCtrl* m_GameID;