mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
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:
parent
25af2ae9b8
commit
f57cfc7c6f
11 changed files with 19 additions and 25 deletions
|
@ -105,7 +105,7 @@ void PadSettingCheckBox::UpdateValue()
|
|||
|
||||
void PadSettingSpin::UpdateGUI()
|
||||
{
|
||||
((wxSpinCtrl*)wxcontrol)->SetValue(value * 100);
|
||||
((wxSpinCtrl*)wxcontrol)->SetValue((int)(value * 100));
|
||||
}
|
||||
|
||||
void PadSettingSpin::UpdateValue()
|
||||
|
@ -536,7 +536,7 @@ wxStaticBoxSizer* ControlDialog::CreateControlChooser(wxWindow* const parent, wx
|
|||
|
||||
range_slider = new wxSlider(parent, -1, SLIDER_TICK_COUNT, 0, SLIDER_TICK_COUNT * 5, wxDefaultPosition, wxDefaultSize, wxSL_TOP | wxSL_LABELS /*| wxSL_AUTOTICKS*/);
|
||||
|
||||
range_slider->SetValue(control_reference->range * SLIDER_TICK_COUNT);
|
||||
range_slider->SetValue((int)(control_reference->range * SLIDER_TICK_COUNT));
|
||||
|
||||
_connect_macro_(detect_button, ControlDialog::DetectControl, wxEVT_COMMAND_BUTTON_CLICKED, parent);
|
||||
_connect_macro_(clear_button, ControlDialog::ClearControl, wxEVT_COMMAND_BUTTON_CLICKED, parent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue