DoubleSlider manipulation from preview scene

This commit is contained in:
YuSanka 2019-06-13 16:10:33 +02:00
parent a9ee4ff4b5
commit 4712c5bbdf
5 changed files with 24 additions and 0 deletions

View file

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