mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Event.hpp: Set event object
This commit is contained in:
parent
770d944283
commit
83f55b608c
3 changed files with 23 additions and 14 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue