FIX: stop keyboard tab navigation in StaticLine/SpinInput

Change-Id: Id0287418acc36bf9f74a62df79ecf99354f01cc9
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-08-05 16:11:42 +08:00
1 parent 807cc2236d
commit 173b43d2bd
2 files changed
+2 -1

No files matched your search

+1
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);
}