wip
This commit is contained in:
@@ -23,6 +23,7 @@ enum {BUTTON_ACCOUNT_ID=1, BUTTON_STATS_ID, BUTTON_SEARCH_ID, BUTTON_PREFS_ID, B
|
||||
|
||||
BEGIN_EVENT_TABLE(ButtonPanel, wxPanel)
|
||||
EVT_BUTTON(BUTTON_ACCOUNT_ID, ButtonPanel::OnButtonAccount)
|
||||
EVT_BUTTON(BUTTON_SEARCH_ID, ButtonPanel::OnButtonSearch)
|
||||
EVT_BUTTON(BUTTON_PREFS_ID, ButtonPanel::OnButtonPreferences)
|
||||
EVT_BUTTON(BUTTON_CHANGE_USER_ID, ButtonPanel::OnButtonChangeUser)
|
||||
EVT_BUTTON(BUTTON_ABOUT_ID, ButtonPanel::OnButtonAbout)
|
||||
@@ -75,6 +76,11 @@ void ButtonPanel::OnButtonAccount(wxCommandEvent& event)
|
||||
_wxUI->ShowAccount();
|
||||
}
|
||||
|
||||
void ButtonPanel::OnButtonSearch(wxCommandEvent& event)
|
||||
{
|
||||
_wxUI->ShowSearch();
|
||||
}
|
||||
|
||||
void ButtonPanel::OnButtonPreferences(wxCommandEvent& event)
|
||||
{
|
||||
_wxUI->ShowPreferences();
|
||||
|
Reference in New Issue
Block a user