DolphinWX: Reimplement cheat listbox updating, but without a global

Just use event handling.
This commit is contained in:
Lioncash
2014-10-18 21:28:36 -04:00
parent 90eaf9519c
commit e7939a6b44
5 changed files with 17 additions and 1 deletions

View File

@ -5,14 +5,16 @@
#pragma once
#include <wx/dialog.h>
#include <wx/event.h>
#include "Common/CommonTypes.h"
class wxCheckBox;
class wxCommandEvent;
class wxTextCtrl;
class wxWindow;
wxDECLARE_EVENT(UPDATE_CHEAT_LIST_EVENT, wxCommandEvent);
class CreateCodeDialog final : public wxDialog
{
public: