Make iso properties non modal.

This commit is contained in:
Rachel Bryk
2015-02-24 18:32:17 -05:00
parent 5fc62ac563
commit 2df8190e1a
13 changed files with 69 additions and 45 deletions

View File

@ -21,7 +21,8 @@ namespace ActionReplay { struct ARCode; }
class CARCodeAddEdit : public wxDialog
{
public:
CARCodeAddEdit(int _selection, wxWindow* parent,
CARCodeAddEdit(int _selection, const std::vector<ActionReplay::ARCode>& _arCodes,
wxWindow* parent,
wxWindowID id = wxID_ANY,
const wxString& title = _("Edit ActionReplay Code"),
const wxPoint& pos = wxDefaultPosition,
@ -33,6 +34,8 @@ private:
wxSpinButton* EntrySelection;
wxTextCtrl* EditCheatCode;
std::vector<ActionReplay::ARCode> arCodes;
void SaveCheatData(wxCommandEvent& event);
void ChangeEntry(wxSpinEvent& event);
void UpdateTextCtrl(ActionReplay::ARCode arCode);