Change OnGameListCtrl_ItemActivated to OnGameListCtrlItemActivated
This commit is contained in:
parent
41ad0f6976
commit
efb64c1885
|
@ -432,7 +432,7 @@ CFrame::CFrame(wxFrame* parent,
|
||||||
m_GameListCtrl = new CGameListCtrl(m_Panel, wxID_ANY,
|
m_GameListCtrl = new CGameListCtrl(m_Panel, wxID_ANY,
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT);
|
wxLC_REPORT | wxSUNKEN_BORDER | wxLC_ALIGN_LEFT);
|
||||||
m_GameListCtrl->Bind(wxEVT_LIST_ITEM_ACTIVATED, &CFrame::OnGameListCtrl_ItemActivated, this);
|
m_GameListCtrl->Bind(wxEVT_LIST_ITEM_ACTIVATED, &CFrame::OnGameListCtrlItemActivated, this);
|
||||||
|
|
||||||
wxBoxSizer *sizerPanel = new wxBoxSizer(wxHORIZONTAL);
|
wxBoxSizer *sizerPanel = new wxBoxSizer(wxHORIZONTAL);
|
||||||
sizerPanel->Add(m_GameListCtrl, 1, wxEXPAND | wxALL);
|
sizerPanel->Add(m_GameListCtrl, 1, wxEXPAND | wxALL);
|
||||||
|
@ -864,7 +864,7 @@ bool CFrame::UIHasFocus()
|
||||||
return (focusWindow != nullptr);
|
return (focusWindow != nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFrame::OnGameListCtrl_ItemActivated(wxListEvent& WXUNUSED(event))
|
void CFrame::OnGameListCtrlItemActivated(wxListEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
// Show all platforms and regions if...
|
// Show all platforms and regions if...
|
||||||
// 1. All platforms are set to hide
|
// 1. All platforms are set to hide
|
||||||
|
|
|
@ -349,7 +349,7 @@ private:
|
||||||
void OnConnectWiimote(wxCommandEvent& event);
|
void OnConnectWiimote(wxCommandEvent& event);
|
||||||
void GameListChanged(wxCommandEvent& event);
|
void GameListChanged(wxCommandEvent& event);
|
||||||
|
|
||||||
void OnGameListCtrl_ItemActivated(wxListEvent& event);
|
void OnGameListCtrlItemActivated(wxListEvent& event);
|
||||||
void OnRenderParentResize(wxSizeEvent& event);
|
void OnRenderParentResize(wxSizeEvent& event);
|
||||||
void StartGame(const std::string& filename);
|
void StartGame(const std::string& filename);
|
||||||
void OnChangeColumnsVisible(wxCommandEvent& event);
|
void OnChangeColumnsVisible(wxCommandEvent& event);
|
||||||
|
|
Loading…
Reference in New Issue