Audacity 3.2.0
Public Member Functions | Static Public Member Functions | List of all members
ChoiceEditor::FocusHandler Class Reference
Inheritance diagram for ChoiceEditor::FocusHandler:
[legend]
Collaboration diagram for ChoiceEditor::FocusHandler:
[legend]

Public Member Functions

void ConnectEvent (wxWindow *w)
 
void DisconnectEvent (wxWindow *w)
 

Static Public Member Functions

static void OnKillFocus (wxFocusEvent &WXUNUSED(event))
 

Detailed Description

Definition at line 160 of file Grid.h.

Member Function Documentation

◆ ConnectEvent()

void ChoiceEditor::FocusHandler::ConnectEvent ( wxWindow *  w)
inline

Definition at line 163 of file Grid.h.

164 {
165 // Need to use a named function pointer, not a lambda, so that we
166 // can unbind the same later
167 w->GetEventHandler()->Bind(wxEVT_KILL_FOCUS, OnKillFocus);
168 };
static void OnKillFocus(wxFocusEvent &WXUNUSED(event))
Definition: Grid.h:173

Referenced by ChoiceEditor::Create().

Here is the caller graph for this function:

◆ DisconnectEvent()

void ChoiceEditor::FocusHandler::DisconnectEvent ( wxWindow *  w)
inline

Definition at line 169 of file Grid.h.

170 {
171 w->GetEventHandler()->Unbind(wxEVT_KILL_FOCUS, OnKillFocus);
172 };

Referenced by ChoiceEditor::~ChoiceEditor().

Here is the caller graph for this function:

◆ OnKillFocus()

static void ChoiceEditor::FocusHandler::OnKillFocus ( wxFocusEvent &  WXUNUSEDevent)
inlinestatic

Definition at line 173 of file Grid.h.

174 {
175 return;
176 };

The documentation for this class was generated from the following file: