InputConfigDialog pass the device_cbox to the wiimote extension dialogs

This fixes a crash when trying to open the advanced input config dialog on the wiimote extensions.  The device_cbox wasn't initialised and it should have been with the wiimote one.
This commit is contained in:
aldelaro5
2017-01-27 00:05:09 -05:00
parent 540bf4618c
commit 334e33d4fa
11 changed files with 46 additions and 15 deletions

View File

@ -6,9 +6,11 @@
#include "DolphinWX/Input/InputConfigDiag.h"
class wxComboBox;
class GuitarInputConfigDialog final : public InputConfigDialog
{
public:
GuitarInputConfigDialog(wxWindow* parent, InputConfig& config, const wxString& name,
int port_num = 0);
wxComboBox* device_cbox_parent, int port_num = 0);
};