MCPcopy Create free account
hub / github.com/audacity/audacity / OnFocus

Function OnFocus

src/KeyboardCapture.cpp:72–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void OnFocus( wxWindow &window, wxFocusEvent &event )
73{
74 if (event.GetEventType() == wxEVT_KILL_FOCUS)
75 KeyboardCapture::Release( &window );
76 else
77 KeyboardCapture::Capture( &window );
78
79 window.Refresh( false );
80 event.Skip();
81}
82
83}
84

Callers 6

OnFocusMethod · 0.85
OnFocusMethod · 0.85
OnFocusMethod · 0.85
OnFocusMethod · 0.85
OnFocusMethod · 0.85
OnFocusMethod · 0.85

Calls 4

ReleaseFunction · 0.85
CaptureFunction · 0.85
SkipMethod · 0.80
RefreshMethod · 0.45

Tested by

no test coverage detected