#pragma once #define wxNO_UNSAFE_WXSTRING_CONV 1 #include #ifndef WX_PRECOMP #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include extern bool g_inputConfigWindowHasFocus; inline bool SendSliderEvent(wxSlider* slider, int new_value) { wxCommandEvent cevent(wxEVT_SLIDER, slider->GetId()); cevent.SetInt(new_value); cevent.SetEventObject(slider); return slider->HandleWindowEvent(cevent); }