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

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 155 of file Grid.h.

Member Function Documentation

◆ ConnectEvent()

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

Definition at line 158 of file Grid.h.

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

Referenced by ChoiceEditor::Create().

Here is the caller graph for this function:

◆ DisconnectEvent()

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

Definition at line 164 of file Grid.h.

165 {
166 w->GetEventHandler()->Unbind(wxEVT_KILL_FOCUS, OnKillFocus);
167 };

Referenced by ChoiceEditor::~ChoiceEditor().

Here is the caller graph for this function:

◆ OnKillFocus()

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

Definition at line 168 of file Grid.h.

169 {
170 return;
171 };

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