OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::SimpleEvent Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Event.hpp>

Inheritance diagram for Slic3r::GUI::SimpleEvent:
Collaboration diagram for Slic3r::GUI::SimpleEvent:

Public Member Functions

 SimpleEvent (wxEventType type, wxObject *origin=nullptr)
virtual wxEvent * Clone () const

Detailed Description

Constructor & Destructor Documentation

◆ SimpleEvent()

Slic3r::GUI::SimpleEvent::SimpleEvent ( wxEventType type,
wxObject * origin = nullptr )
inline
18 : wxEvent(0, type)
19 {
20 m_propagationLevel = wxEVENT_PROPAGATE_MAX;
21 SetEventObject(origin);
22 }

Referenced by Clone().

Here is the caller graph for this function:

Member Function Documentation

◆ Clone()

virtual wxEvent * Slic3r::GUI::SimpleEvent::Clone ( ) const
inlinevirtual
25 {
26 return new SimpleEvent(GetEventType(), GetEventObject());
27 }
SimpleEvent(wxEventType type, wxObject *origin=nullptr)
Definition Event.hpp:18

References SimpleEvent().

Here is the call graph for this function:

The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Event.hpp