FIX: stop keyboard tab navigation in StaticLine/SpinInput

Change-Id: Id0287418acc36bf9f74a62df79ecf99354f01cc9
This commit is contained in:
chunmao.guo 2022-07-28 09:46:30 +08:00 committed by Lane.Wei
parent 807cc2236d
commit 173b43d2bd
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@ StaticLine::StaticLine(wxWindow* parent, bool vertical, const wxString& label)
{
wxWindow::SetBackgroundColour(parent->GetBackgroundColour());
this->pen = wxPen(wxColour("#C4C4C4"));
DisableFocusFromKeyboard();
SetFont(Label::Body_14);
SetLabel(label);
}