ENH: page faults when device page idle

jira: [none]
Change-Id: I4dc95ae6332b81e571fb5ef09c75dcf01e77170e
(cherry picked from commit cefe973772c7f7045713470d61cc85221574d9c5)
This commit is contained in:
xin.zhang
2025-09-19 18:02:08 +08:00
committed by Noisyfox
parent dd16f939bd
commit c1fe2c4465
9 changed files with 91 additions and 40 deletions

View File

@@ -51,9 +51,11 @@ void StepCtrlBase::SelectItem(int item)
void StepCtrlBase::Idle()
{
step = -1;
sendStepCtrlEvent();
Refresh();
if (step != -1) {
step = -1;
sendStepCtrlEvent();
Refresh();
}
}
bool StepCtrlBase::SetTipFont(wxFont const& font)