mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-04 00:14:22 +03: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