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

Method SetFieldFocus

src/widgets/NumericTextCtrl.cpp:907–922  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905}
906
907void NumericTextCtrl::SetFieldFocus(int digit)
908{
909#if wxUSE_ACCESSIBILITY
910 if (!mFormatter || mBoxes.size() == 0)
911 {
912 mFocusedDigit = 0;
913 return;
914 }
915 mFocusedDigit = digit;
916
917 GetAccessible()->NotifyEvent(wxACC_EVENT_OBJECT_FOCUS,
918 this,
919 wxOBJID_CLIENT,
920 mFocusedDigit + 1);
921#endif
922}
923
924void NumericTextCtrl::Updated(bool keyup /* = false */)
925{

Callers 1

TimerRecordDialogMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected