mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 08:04:01 -06:00
FIX: CheckBox style on MacOS
Change-Id: I54f0c4188288a55d44c510c15efb894b3e9419df
This commit is contained in:
parent
9d2d28ca62
commit
10c152c40d
3 changed files with 87 additions and 2 deletions
|
@ -17,9 +17,25 @@ public:
|
|||
|
||||
void Rescale();
|
||||
|
||||
protected:
|
||||
virtual State GetNormalState() const wxOVERRIDE;
|
||||
#ifdef __WXOSX__
|
||||
virtual bool Enable(bool enable = true) wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
protected:
|
||||
#ifdef __WXMSW__
|
||||
virtual State GetNormalState() const wxOVERRIDE;
|
||||
#endif
|
||||
|
||||
#ifdef __WXOSX__
|
||||
virtual wxBitmap DoGetBitmap(State which) const wxOVERRIDE;
|
||||
|
||||
void updateBitmap(wxEvent & evt);
|
||||
|
||||
bool m_disable = false;
|
||||
bool m_hover = false;
|
||||
bool m_focus = false;
|
||||
#endif
|
||||
|
||||
private:
|
||||
void update();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue