Move UiHasFocus into DolphinApp

Using a wxEVT_ACTIVATE_APP event.
This commit is contained in:
aldelaro5
2016-10-27 21:50:09 -04:00
parent 2005b4430f
commit ee201455a8
4 changed files with 13 additions and 19 deletions

View File

@ -16,6 +16,7 @@ extern CFrame* main_frame;
class DolphinApp : public wxApp
{
public:
bool IsActiveThreadsafe() const { return m_is_active; }
CFrame* GetCFrame();
private:
@ -33,10 +34,12 @@ private:
void OnEndSession(wxCloseEvent& event);
void InitLanguageSupport();
void AfterInit();
void OnActivate(wxActivateEvent& ev);
void OnIdle(wxIdleEvent&);
bool m_batch_mode = false;
bool m_confirm_stop = false;
bool m_is_active = true;
bool m_load_file = false;
bool m_play_movie = false;
bool m_use_debugger = false;