FIX:speed ctrl in device

1.the speed ctrl shouldn't open popup when the printer is in idle status.
2.add tooltip

Change-Id: I3b0b4c58ef1c1961835ee2e06b2e7f3cccb53428
This commit is contained in:
liz.li 2022-09-05 17:08:12 +08:00 committed by Lane.Wei
parent b025de8746
commit e6f0c5abec
3 changed files with 21 additions and 3 deletions

View file

@ -19,6 +19,7 @@ protected:
std::vector<wxString> steps;
std::vector<wxString> tips;
wxString hint;
int step = -1;
@ -35,6 +36,8 @@ public:
~StepCtrlBase();
public:
void SetHint(wxString hint);
bool SetTipFont(wxFont const & font);
public: