mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
ChangeGameDialog: Internally set the chosen game name
Passing in a reference to an empty string is unnecessary and overcomplicates design.
This commit is contained in:
@ -12,11 +12,13 @@ class wxListBox;
|
||||
class ChangeGameDialog final : public wxDialog
|
||||
{
|
||||
public:
|
||||
ChangeGameDialog(wxWindow* parent, const CGameListCtrl* const game_list, wxString& game_name);
|
||||
ChangeGameDialog(wxWindow* parent, const CGameListCtrl* const game_list);
|
||||
|
||||
wxString GetChosenGameName() const;
|
||||
|
||||
private:
|
||||
void OnPick(wxCommandEvent& event);
|
||||
|
||||
wxListBox* m_game_lbox;
|
||||
wxString& m_game_name;
|
||||
wxString m_game_name;
|
||||
};
|
||||
|
Reference in New Issue
Block a user