1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-19 09:24:27 +00:00

Event.hpp: Set event object

This commit is contained in:
Vojtech Kral
2018-10-03 14:07:10 +02:00
parent 770d944283
commit 83f55b608c
3 changed files with 23 additions and 14 deletions
+2 -1
View File
@@ -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);
}