Frame/TASInputDlg: Remove unused functions

This commit is contained in:
Lioncash
2015-08-19 20:36:16 -04:00
parent 5b86e7335f
commit 9e9a293a85
4 changed files with 0 additions and 31 deletions

View File

@ -929,25 +929,6 @@ void TASInputDlg::OnCloseWindow(wxCloseEvent& event)
}
}
bool TASInputDlg::TASHasFocus()
{
if (!m_has_layout)
return false;
//allows numbers to be used as hotkeys
for (Control* const control : m_controls)
{
if (control != nullptr && wxWindow::FindFocus() == control->text)
return false;
}
if (wxWindow::FindFocus() == this)
return true;
else if (wxWindow::FindFocus() != nullptr && wxWindow::FindFocus()->GetParent() == this)
return true;
else
return false;
}
TASInputDlg::Stick* TASInputDlg::FindStickByID(int id)
{
if (id == ID_MAIN_STICK)