Audacity  3.2.0
Public Member Functions | Public Attributes | List of all members
MyEvent Struct Reference
Inheritance diagram for MyEvent:
[legend]
Collaboration diagram for MyEvent:
[legend]

Public Member Functions

 MyEvent (int id)
 
virtual wxEvent * Clone () const override
 

Public Attributes

int mId
 

Detailed Description

Definition at line 76 of file Prefs.cpp.

Constructor & Destructor Documentation

◆ MyEvent()

MyEvent::MyEvent ( int  id)
inlineexplicit

Definition at line 79 of file Prefs.cpp.

79 : wxEvent{ 0, EVT_PREFS_UPDATE }, mId{id} {}

Member Function Documentation

◆ Clone()

virtual wxEvent* MyEvent::Clone ( ) const
inlineoverridevirtual

Definition at line 80 of file Prefs.cpp.

80 { return new MyEvent{mId}; }

References mId.

Member Data Documentation

◆ mId

int MyEvent::mId

Definition at line 81 of file Prefs.cpp.

Referenced by Clone().


The documentation for this struct was generated from the following file:
MyEvent::mId
int mId
Definition: Prefs.cpp:81
MyEvent
Definition: Prefs.cpp:77