diff --git a/Source/Core/DolphinWX/ARCodeAddEdit.cpp b/Source/Core/DolphinWX/ARCodeAddEdit.cpp index b0b188b934..9f27e2705a 100644 --- a/Source/Core/DolphinWX/ARCodeAddEdit.cpp +++ b/Source/Core/DolphinWX/ARCodeAddEdit.cpp @@ -29,8 +29,6 @@ #include "DolphinWX/ISOProperties.h" #include "DolphinWX/WxUtils.h" -class wxWindow; - BEGIN_EVENT_TABLE(CARCodeAddEdit, wxDialog) EVT_BUTTON(wxID_OK, CARCodeAddEdit::SaveCheatData) EVT_SPIN(ID_ENTRY_SELECT, CARCodeAddEdit::ChangeEntry) diff --git a/Source/Core/DolphinWX/AboutDolphin.cpp b/Source/Core/DolphinWX/AboutDolphin.cpp index 48aea31299..19c6742bae 100644 --- a/Source/Core/DolphinWX/AboutDolphin.cpp +++ b/Source/Core/DolphinWX/AboutDolphin.cpp @@ -19,8 +19,6 @@ #include "DolphinWX/AboutDolphin.h" #include "DolphinWX/resources/dolphin_logo.cpp" -class wxWindow; - AboutDolphin::AboutDolphin(wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &position, const wxSize& size, long style) diff --git a/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp b/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp index d1ced11ff2..30e722af1d 100644 --- a/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp +++ b/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp @@ -30,8 +30,6 @@ #include "DolphinWX/WxUtils.h" #include "DolphinWX/Cheats/GeckoCodeDiag.h" -class IniFile; - namespace Gecko { diff --git a/Source/Core/DolphinWX/Debugger/BreakpointView.cpp b/Source/Core/DolphinWX/Debugger/BreakpointView.cpp index 7e36aacf30..fa3166b80d 100644 --- a/Source/Core/DolphinWX/Debugger/BreakpointView.cpp +++ b/Source/Core/DolphinWX/Debugger/BreakpointView.cpp @@ -22,9 +22,6 @@ #include "DolphinWX/Debugger/BreakpointView.h" #include "DolphinWX/Debugger/DebuggerUIUtil.h" -class wxWindow; -struct Symbol; - CBreakPointView::CBreakPointView(wxWindow* parent, const wxWindowID id) : wxListCtrl(parent, id, wxDefaultPosition, wxDefaultSize, wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT | wxLC_SINGLE_SEL | wxLC_SORT_ASCENDING) diff --git a/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp b/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp index e45a172e8f..7abb42f8f5 100644 --- a/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp @@ -35,8 +35,6 @@ extern "C" { #include "DolphinWX/resources/toolbar_debugger_delete.c" } -class wxWindow; - class CBreakPointBar : public wxAuiToolBar { public: diff --git a/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp b/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp index bb25d97fcc..e62bfcb781 100644 --- a/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp +++ b/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp @@ -16,7 +16,6 @@ #include "DolphinWX/WxUtils.h" #include "DolphinWX/Debugger/DSPRegisterView.h" -class wxWindow; wxString CDSPRegTable::GetValue(int row, int col) { diff --git a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp index fe706d0fd5..b2dee34b7f 100644 --- a/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp +++ b/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp @@ -28,8 +28,6 @@ #include "VideoCommon/Debugger.h" #include "VideoCommon/TextureCacheBase.h" -class wxWindow; - BEGIN_EVENT_TABLE(GFXDebuggerPanel, wxPanel) EVT_CLOSE(GFXDebuggerPanel::OnClose) EVT_BUTTON(ID_PAUSE,GFXDebuggerPanel::OnPauseButton) diff --git a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp index c620d327c6..0d9a474ed0 100644 --- a/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp @@ -40,8 +40,6 @@ #include "DolphinWX/Debugger/MemoryView.h" #include "DolphinWX/Debugger/MemoryWindow.h" -class DebugInterface; - enum { IDM_MEM_ADDRBOX, diff --git a/Source/Core/DolphinWX/Debugger/RegisterView.cpp b/Source/Core/DolphinWX/Debugger/RegisterView.cpp index cb5594a487..ca7cdc70ec 100644 --- a/Source/Core/DolphinWX/Debugger/RegisterView.cpp +++ b/Source/Core/DolphinWX/Debugger/RegisterView.cpp @@ -25,8 +25,6 @@ #include "DolphinWX/Debugger/RegisterView.h" #include "DolphinWX/Debugger/WatchWindow.h" -class wxWindow; - // F-zero 80005e60 wtf?? enum diff --git a/Source/Core/DolphinWX/Debugger/WatchView.cpp b/Source/Core/DolphinWX/Debugger/WatchView.cpp index 34c427579d..8bf1d0b14b 100644 --- a/Source/Core/DolphinWX/Debugger/WatchView.cpp +++ b/Source/Core/DolphinWX/Debugger/WatchView.cpp @@ -23,8 +23,6 @@ #include "DolphinWX/Debugger/WatchView.h" #include "DolphinWX/Debugger/WatchWindow.h" -class wxWindow; - enum { IDM_DELETEWATCH, diff --git a/Source/Core/DolphinWX/FifoPlayerDlg.cpp b/Source/Core/DolphinWX/FifoPlayerDlg.cpp index e2f454e91d..356a6cbd10 100644 --- a/Source/Core/DolphinWX/FifoPlayerDlg.cpp +++ b/Source/Core/DolphinWX/FifoPlayerDlg.cpp @@ -43,8 +43,6 @@ #include "VideoCommon/BPMemory.h" #include "VideoCommon/OpcodeDecoding.h" -class wxWindow; - wxDEFINE_EVENT(RECORDING_FINISHED_EVENT, wxCommandEvent); wxDEFINE_EVENT(FRAME_WRITTEN_EVENT, wxCommandEvent); diff --git a/Source/Core/DolphinWX/HotkeyDlg.cpp b/Source/Core/DolphinWX/HotkeyDlg.cpp index aacb62a57c..6ee8dd4fa1 100644 --- a/Source/Core/DolphinWX/HotkeyDlg.cpp +++ b/Source/Core/DolphinWX/HotkeyDlg.cpp @@ -27,8 +27,6 @@ #include "DolphinWX/HotkeyDlg.h" #include "DolphinWX/WXInputBase.h" -class wxWindow; - BEGIN_EVENT_TABLE(HotkeyConfigDialog,wxDialog) EVT_COMMAND_RANGE(0, NUM_HOTKEYS - 1, wxEVT_BUTTON, HotkeyConfigDialog::OnButtonClick) EVT_TIMER(wxID_ANY, HotkeyConfigDialog::OnButtonTimer) diff --git a/Source/Core/DolphinWX/ISOProperties.cpp b/Source/Core/DolphinWX/ISOProperties.cpp index dac3514a25..e2df94075b 100644 --- a/Source/Core/DolphinWX/ISOProperties.cpp +++ b/Source/Core/DolphinWX/ISOProperties.cpp @@ -78,8 +78,6 @@ #include "DolphinWX/resources/isoprop_file.xpm" #include "DolphinWX/resources/isoprop_folder.xpm" -class wxWindow; - struct WiiPartition { DiscIO::IVolume *Partition; diff --git a/Source/Core/DolphinWX/InputConfigDiag.cpp b/Source/Core/DolphinWX/InputConfigDiag.cpp index 72b33077bb..d4ec43641e 100644 --- a/Source/Core/DolphinWX/InputConfigDiag.cpp +++ b/Source/Core/DolphinWX/InputConfigDiag.cpp @@ -53,8 +53,6 @@ #include "InputCommon/ControllerInterface/Device.h" #include "InputCommon/ControllerInterface/ExpressionParser.h" -class wxWindow; - using namespace ciface::ExpressionParser; void GamepadPage::ConfigExtension(wxCommandEvent& event) diff --git a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp index 9960381e7f..6f6278d83e 100644 --- a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp +++ b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp @@ -27,8 +27,6 @@ #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/ControllerInterface/Device.h" -class wxTimerEvent; - static void DrawCenteredRectangle(wxDC &dc, int x, int y, int w, int h) { x -= w / 2; diff --git a/Source/Core/DolphinWX/LogConfigWindow.cpp b/Source/Core/DolphinWX/LogConfigWindow.cpp index 4adc8f7e17..7ff43ce395 100644 --- a/Source/Core/DolphinWX/LogConfigWindow.cpp +++ b/Source/Core/DolphinWX/LogConfigWindow.cpp @@ -27,8 +27,6 @@ #include "DolphinWX/LogWindow.h" #include "DolphinWX/WxUtils.h" -class wxWindow; - LogConfigWindow::LogConfigWindow(wxWindow* parent, CLogWindow *log_window, wxWindowID id) : wxPanel(parent, id, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL, _("Log Configuration")) , m_LogWindow(log_window), enableAll(true) diff --git a/Source/Core/DolphinWX/NetWindow.cpp b/Source/Core/DolphinWX/NetWindow.cpp index 2c5ba541d7..bd959a59e7 100644 --- a/Source/Core/DolphinWX/NetWindow.cpp +++ b/Source/Core/DolphinWX/NetWindow.cpp @@ -47,8 +47,6 @@ #include "DolphinWX/NetWindow.h" #include "DolphinWX/WxUtils.h" -class wxWindow; - #define NETPLAY_TITLEBAR "Dolphin NetPlay" #define INITIAL_PAD_BUFFER_SIZE 5 diff --git a/Source/Core/DolphinWX/PatchAddEdit.cpp b/Source/Core/DolphinWX/PatchAddEdit.cpp index 3672d1cc04..fe974dbac0 100644 --- a/Source/Core/DolphinWX/PatchAddEdit.cpp +++ b/Source/Core/DolphinWX/PatchAddEdit.cpp @@ -28,8 +28,6 @@ #include "DolphinWX/PatchAddEdit.h" #include "DolphinWX/WxUtils.h" -class wxWindow; - BEGIN_EVENT_TABLE(CPatchAddEdit, wxDialog) EVT_BUTTON(wxID_OK, CPatchAddEdit::SavePatchData) EVT_BUTTON(ID_ENTRY_ADD, CPatchAddEdit::AddRemoveEntry) diff --git a/Source/Core/DolphinWX/WiimoteConfigDiag.cpp b/Source/Core/DolphinWX/WiimoteConfigDiag.cpp index 2631136104..cb4baff7ff 100644 --- a/Source/Core/DolphinWX/WiimoteConfigDiag.cpp +++ b/Source/Core/DolphinWX/WiimoteConfigDiag.cpp @@ -28,8 +28,6 @@ #include "DolphinWX/InputConfigDiag.h" #include "DolphinWX/WiimoteConfigDiag.h" -class InputConfig; - WiimoteConfigDiag::WiimoteConfigDiag(wxWindow* const parent, InputConfig& config) : wxDialog(parent, -1, _("Dolphin Wiimote Configuration")) , m_config(config)