mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
DolphinWX: Specify wxID_ANY where -1 is used in controls
This commit is contained in:
parent
64124a0d21
commit
10bfbebc78
16 changed files with 100 additions and 100 deletions
|
@ -71,7 +71,7 @@ class PadSettingSpin : public PadSetting
|
|||
{
|
||||
public:
|
||||
PadSettingSpin(wxWindow* const parent, ControllerEmu::ControlGroup::Setting* const _setting)
|
||||
: PadSetting(new wxSpinCtrl(parent, -1, wxEmptyString, wxDefaultPosition,
|
||||
: PadSetting(new wxSpinCtrl(parent, wxID_ANY, wxEmptyString, wxDefaultPosition,
|
||||
wxSize(54, -1), 0, _setting->low, _setting->high, (int)(_setting->value * 100)))
|
||||
, setting(_setting) {}
|
||||
|
||||
|
@ -133,7 +133,7 @@ class ExtensionButton : public wxButton
|
|||
{
|
||||
public:
|
||||
ExtensionButton(wxWindow* const parent, ControllerEmu::Extension* const ext)
|
||||
: wxButton(parent, -1, _("Configure"), wxDefaultPosition)
|
||||
: wxButton(parent, wxID_ANY, _("Configure"), wxDefaultPosition)
|
||||
, extension(ext) {}
|
||||
|
||||
ControllerEmu::Extension* const extension;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue