Fixed DoubleSlider manipulation from Preview scene

This commit is contained in:
YuSanka 2019-06-18 11:40:26 +02:00
parent 90beadb65f
commit 917702f252
7 changed files with 38 additions and 12 deletions

View file

@ -420,6 +420,12 @@ void Preview::move_double_slider(wxKeyEvent& evt)
m_slider->OnKeyDown(evt);
}
void Preview::edit_double_slider(wxKeyEvent& evt)
{
if (m_slider)
m_slider->OnChar(evt);
}
void Preview::bind_event_handlers()
{
this->Bind(wxEVT_SIZE, &Preview::on_size, this);