Fixed DoubleSlider manipulation from Preview scene

This commit is contained in:
YuSanka
2019-06-18 11:40:26 +02:00
parent 36572d0577
commit 7ccd8a42fa
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);