mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 18:42:24 +00:00
Event.hpp: Set event object
This commit is contained in:
@@ -2007,8 +2007,9 @@ GLCanvas3D::~GLCanvas3D()
|
||||
}
|
||||
}
|
||||
|
||||
void GLCanvas3D::post_event(const wxEvent &event)
|
||||
void GLCanvas3D::post_event(wxEvent &&event)
|
||||
{
|
||||
event.SetEventObject(m_canvas);
|
||||
wxPostEvent(m_canvas, event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user