Audacity  2.2.2
Public Member Functions | Static Public Member Functions | List of all members
ChoiceEditor::FocusHandler Class Reference
Inheritance 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 163 of file Grid.h.

Member Function Documentation

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

Definition at line 166 of file Grid.h.

References OnKillFocus().

Referenced by ChoiceEditor::Create().

167  {
168  // Need to use a named function pointer, not a lambda, so that we
169  // can unbind the same later
170  w->GetEventHandler()->Bind(wxEVT_KILL_FOCUS, OnKillFocus);
171  };
static void OnKillFocus(wxFocusEvent &WXUNUSED(event))
Definition: Grid.h:176
void ChoiceEditor::FocusHandler::DisconnectEvent ( wxWindow *  w)
inline

Definition at line 172 of file Grid.h.

References OnKillFocus().

Referenced by ChoiceEditor::~ChoiceEditor().

173  {
174  w->GetEventHandler()->Unbind(wxEVT_KILL_FOCUS, OnKillFocus);
175  };
static void OnKillFocus(wxFocusEvent &WXUNUSED(event))
Definition: Grid.h:176
static void ChoiceEditor::FocusHandler::OnKillFocus ( wxFocusEvent &  WXUNUSEDevent)
inlinestatic

Definition at line 176 of file Grid.h.

Referenced by ConnectEvent(), and DisconnectEvent().

177  {
178  return;
179  };

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