Definition at line 57 of file AButton.cpp.
◆ Listener()
AButton::Listener::Listener |
( |
AButton * |
button | ) |
|
Definition at line 72 of file AButton.cpp.
74{
75 wxEvtHandler::AddFilter(this);
76}
◆ ~Listener()
AButton::Listener::~Listener |
( |
| ) |
|
Definition at line 78 of file AButton.cpp.
79{
80 wxEvtHandler::RemoveFilter(this);
81}
◆ FilterEvent()
int AButton::Listener::FilterEvent |
( |
wxEvent & |
event | ) |
|
|
override |
Definition at line 104 of file AButton.cpp.
105{
106 if (event.GetEventType() == wxEVT_KEY_DOWN ||
107 event.GetEventType() == wxEVT_KEY_UP)
109 else if (event.GetEventType() == wxEVT_SET_FOCUS)
110
111
112
114 return Event_Skip;
115}
◆ OnEvent()
void AButton::Listener::OnEvent |
( |
| ) |
|
Definition at line 83 of file AButton.cpp.
84{
86 {
87 int idx = 0;
88
89
90
91
92
94 idx = 2;
96 idx = 1;
97
98
99
101 }
102}
◆ mButton
AButton* AButton::Listener::mButton |
|
private |
The documentation for this class was generated from the following file: