mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
PathConfigPane: Eliminate main frame global usage
This commit is contained in:
@ -61,6 +61,7 @@ private:
|
||||
};
|
||||
|
||||
wxDECLARE_EVENT(DOLPHIN_EVT_RELOAD_THEME_BITMAPS, wxCommandEvent);
|
||||
wxDECLARE_EVENT(DOLPHIN_EVT_UPDATE_LOAD_WII_MENU_ITEM, wxCommandEvent);
|
||||
|
||||
class CFrame : public CRenderFrame
|
||||
{
|
||||
@ -106,7 +107,6 @@ public:
|
||||
bool RendererIsFullscreen();
|
||||
void DoFullscreen(bool bF);
|
||||
void ToggleDisplayMode(bool bFullscreen);
|
||||
void UpdateWiiMenuChoice(wxMenuItem* WiiMenuItem = nullptr);
|
||||
static void ConnectWiimote(int wm_idx, bool connect);
|
||||
void UpdateTitle(const std::string& str);
|
||||
void OpenGeneralConfiguration(wxWindowID tab_id = wxID_ANY);
|
||||
@ -242,6 +242,9 @@ private:
|
||||
|
||||
void OnUpdateInterpreterMenuItem(wxUpdateUIEvent& event);
|
||||
|
||||
void OnUpdateLoadWiiMenuItem(wxCommandEvent&);
|
||||
void UpdateLoadWiiMenuItem() const;
|
||||
|
||||
void OnOpen(wxCommandEvent& event); // File menu
|
||||
void DoOpen(bool Boot);
|
||||
void OnRefresh(wxCommandEvent& event);
|
||||
|
Reference in New Issue
Block a user