mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-21 09:49:01 +00:00
Move UiHasFocus into DolphinApp
Using a wxEVT_ACTIVATE_APP event.
This commit is contained in:
parent
2005b4430f
commit
ee201455a8
4 changed files with 13 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue