trivial warning fixes
This commit is contained in:
parent
3fbd781cb8
commit
591e10c4dd
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
MD5Dialog::MD5Dialog(wxWindow* parent, NetPlayServer* server, std::vector<const Player*> players,
|
MD5Dialog::MD5Dialog(wxWindow* parent, NetPlayServer* server, std::vector<const Player*> players,
|
||||||
const std::string& game)
|
const std::string& game)
|
||||||
: wxDialog(parent, wxID_ANY, _("MD5 Checksum")), m_parent(parent), m_netplay_server(server)
|
: wxDialog(parent, wxID_ANY, _("MD5 Checksum")), m_netplay_server(server)
|
||||||
{
|
{
|
||||||
Bind(wxEVT_CLOSE_WINDOW, &MD5Dialog::OnClose, this);
|
Bind(wxEVT_CLOSE_WINDOW, &MD5Dialog::OnClose, this);
|
||||||
wxBoxSizer* const main_sizer = new wxBoxSizer(wxVERTICAL);
|
wxBoxSizer* const main_sizer = new wxBoxSizer(wxVERTICAL);
|
||||||
|
|
|
@ -31,7 +31,6 @@ private:
|
||||||
void OnClose(wxCloseEvent& event);
|
void OnClose(wxCloseEvent& event);
|
||||||
void OnCloseBtnPressed(wxCommandEvent& event);
|
void OnCloseBtnPressed(wxCommandEvent& event);
|
||||||
|
|
||||||
wxWindow* m_parent;
|
|
||||||
wxStaticText* m_final_result_label;
|
wxStaticText* m_final_result_label;
|
||||||
NetPlayServer* m_netplay_server;
|
NetPlayServer* m_netplay_server;
|
||||||
std::map<int, wxGauge*> m_progress_bars;
|
std::map<int, wxGauge*> m_progress_bars;
|
||||||
|
|
|
@ -92,7 +92,7 @@ private:
|
||||||
void OnPlayerSelect(wxCommandEvent& event);
|
void OnPlayerSelect(wxCommandEvent& event);
|
||||||
void GetNetSettings(NetSettings& settings);
|
void GetNetSettings(NetSettings& settings);
|
||||||
std::string FindCurrentGame();
|
std::string FindCurrentGame();
|
||||||
std::string FindGame(const std::string& game);
|
std::string FindGame(const std::string& game) override;
|
||||||
|
|
||||||
void OnCopyIP(wxCommandEvent&);
|
void OnCopyIP(wxCommandEvent&);
|
||||||
void OnChoice(wxCommandEvent& event);
|
void OnChoice(wxCommandEvent& event);
|
||||||
|
|
Loading…
Reference in New Issue