Definition at line 58 of file AButton.cpp.
◆ Listener()
AButton::Listener::Listener |
( |
AButton * |
button | ) |
|
Definition at line 73 of file AButton.cpp.
75{
76 wxEvtHandler::AddFilter(this);
77}
◆ ~Listener()
AButton::Listener::~Listener |
( |
| ) |
|
Definition at line 79 of file AButton.cpp.
80{
81 wxEvtHandler::RemoveFilter(this);
82}
◆ FilterEvent()
int AButton::Listener::FilterEvent |
( |
wxEvent & |
event | ) |
|
|
override |
Definition at line 105 of file AButton.cpp.
106{
107 if (event.GetEventType() == wxEVT_KEY_DOWN ||
108 event.GetEventType() == wxEVT_KEY_UP)
110 else if (event.GetEventType() == wxEVT_SET_FOCUS)
111
112
113
115 return Event_Skip;
116}
◆ OnEvent()
void AButton::Listener::OnEvent |
( |
| ) |
|
Definition at line 84 of file AButton.cpp.
85{
87 {
88 int idx = 0;
89
90
91
92
93
95 idx = 2;
97 idx = 1;
98
99
100
102 }
103}
◆ mButton
AButton* AButton::Listener::mButton |
|
private |
The documentation for this class was generated from the following file: