Virtual base classes should have a virtual destructor.

Build a libdolphinwx. Just fooling around with LTO..


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6981 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-01-30 01:58:54 +00:00
parent 25af2ae9b8
commit f57cfc7c6f
11 changed files with 19 additions and 25 deletions

View File

@ -74,7 +74,7 @@ class PadSettingSpin : public PadSetting
public:
PadSettingSpin(wxWindow* const parent, ControllerEmu::ControlGroup::Setting* const setting)
: PadSetting(new wxSpinCtrl(parent, -1, wxEmptyString, wxDefaultPosition
, wxSize(54, -1), 0, setting->low, setting->high, setting->value * 100))
, wxSize(54, -1), 0, setting->low, setting->high, (int)(setting->value * 100)))
, value(setting->value) {}
void UpdateGUI();