DolphinWX: Kill off trivial event tables

Also fixes some of the wonky stuff in Main where we would fire an event to do post-init stuff which isn't necessary anymore.
This commit is contained in:
Lioncash
2014-11-08 19:26:20 -05:00
parent 2a79d2343d
commit ac387031a4
17 changed files with 234 additions and 334 deletions

View File

@ -12,8 +12,6 @@
class CFrame;
class wxLocale;
class wxTimer;
class wxTimerEvent;
extern CFrame* main_frame;
@ -31,9 +29,6 @@ private:
void InitLanguageSupport();
void MacOpenFile(const wxString &fileName);
DECLARE_EVENT_TABLE()
wxTimer *m_afterinit;
bool BatchMode;
bool LoadFile;
bool playMovie;
@ -41,7 +36,7 @@ private:
wxString movieFile;
wxLocale *m_locale;
void AfterInit(wxTimerEvent& WXUNUSED(event));
void AfterInit();
void OnEndSession(wxCloseEvent& event);
};