Remove some dead code

This commit is contained in:
Fs00 2022-09-10 15:16:08 +02:00
parent 13aa0a4fd0
commit 08db65bd5a
3 changed files with 0 additions and 11 deletions

View File

@ -96,10 +96,7 @@ ProControllerInputPanel::ProControllerInputPanel(wxWindow* parent)
//////////////////////////////////////////////////////////////////
// LoadController(controller);
SetSizerAndFit(main_sizer);
//wxWindow::Show(show);
}
void ProControllerInputPanel::add_button_row(wxGridBagSizer *sizer, sint32 row, sint32 column, const ProController::ButtonId &button_id) {

View File

@ -139,13 +139,8 @@ VPADInputPanel::VPADInputPanel(wxWindow* parent)
//////////////////////////////////////////////////////////////////
//LoadController(controller);
SetSizer(main_sizer);
Layout();
//SetSizerAndFit(main_sizer);
//wxWindow::Show(show);
}
void VPADInputPanel::add_button_row(wxGridBagSizer *sizer, sint32 row, sint32 column, const VPADController::ButtonId &button_id) {

View File

@ -211,9 +211,6 @@ void WiimoteInputPanel::on_volume_change(wxCommandEvent& event)
void WiimoteInputPanel::on_extension_change(wxCommandEvent& event)
{
const auto obj = dynamic_cast<wxCheckBox*>(event.GetEventObject());
wxASSERT(obj);
if(m_motion_plus->GetValue() && m_nunchuck->GetValue())
set_active_device_type(kWAPDevMPLSFreeStyle);
else if(m_motion_plus->GetValue() && m_classic->GetValue())