FIX: focus state of CheckBox

Change-Id: Iceac4b9877a07e4517250255203c2e0ecdbc34ac
This commit is contained in:
chunmao.guo 2022-07-29 13:29:09 +08:00 committed by Lane.Wei
parent ec59446e44
commit 807cc2236d
7 changed files with 38 additions and 16 deletions

View file

@ -17,6 +17,9 @@ public:
void Rescale();
protected:
virtual State GetNormalState() const wxOVERRIDE;
private:
void update();
@ -27,6 +30,9 @@ private:
ScalableBitmap m_on_disabled;
ScalableBitmap m_half_disabled;
ScalableBitmap m_off_disabled;
ScalableBitmap m_on_focused;
ScalableBitmap m_half_focused;
ScalableBitmap m_off_focused;
bool m_half_checked = false;
};