DolphinWX: Eliminate remnants of the event table in ConfigMain
This commit is contained in:
parent
086ec7a9b7
commit
febd3909c6
|
@ -19,13 +19,6 @@
|
||||||
#include "DolphinWX/Config/PathConfigPane.h"
|
#include "DolphinWX/Config/PathConfigPane.h"
|
||||||
#include "DolphinWX/Config/WiiConfigPane.h"
|
#include "DolphinWX/Config/WiiConfigPane.h"
|
||||||
|
|
||||||
BEGIN_EVENT_TABLE(CConfigMain, wxDialog)
|
|
||||||
|
|
||||||
EVT_CLOSE(CConfigMain::OnClose)
|
|
||||||
EVT_BUTTON(wxID_OK, CConfigMain::OnOk)
|
|
||||||
|
|
||||||
END_EVENT_TABLE()
|
|
||||||
|
|
||||||
CConfigMain::CConfigMain(wxWindow* parent, wxWindowID id, const wxString& title,
|
CConfigMain::CConfigMain(wxWindow* parent, wxWindowID id, const wxString& title,
|
||||||
const wxPoint& position, const wxSize& size, long style)
|
const wxPoint& position, const wxSize& size, long style)
|
||||||
: wxDialog(parent, id, title, position, size, style)
|
: wxDialog(parent, id, title, position, size, style)
|
||||||
|
@ -33,6 +26,9 @@ CConfigMain::CConfigMain(wxWindow* parent, wxWindowID id, const wxString& title,
|
||||||
// Control refreshing of the ISOs list
|
// Control refreshing of the ISOs list
|
||||||
bRefreshList = false;
|
bRefreshList = false;
|
||||||
|
|
||||||
|
Bind(wxEVT_CLOSE_WINDOW, &CConfigMain::OnClose, this);
|
||||||
|
Bind(wxEVT_BUTTON, &CConfigMain::OnOk, this, wxID_OK);
|
||||||
|
|
||||||
CreateGUIControls();
|
CreateGUIControls();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ class wxWindow;
|
||||||
class CConfigMain : public wxDialog
|
class CConfigMain : public wxDialog
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
CConfigMain(wxWindow* parent,
|
CConfigMain(wxWindow* parent,
|
||||||
wxWindowID id = wxID_ANY,
|
wxWindowID id = wxID_ANY,
|
||||||
const wxString& title = _("Dolphin Configuration"),
|
const wxString& title = _("Dolphin Configuration"),
|
||||||
|
@ -45,7 +44,4 @@ private:
|
||||||
wxNotebook* Notebook;
|
wxNotebook* Notebook;
|
||||||
|
|
||||||
bool bRefreshList;
|
bool bRefreshList;
|
||||||
|
|
||||||
private:
|
|
||||||
DECLARE_EVENT_TABLE();
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue