ENH: StaticGroup badge on macOS

Change-Id: Id446e12aec7780f46c341083a7ad8c81ccf4a4f0
Jira: STUDIO-10055
(cherry picked from commit 5e6eacccf142c38cfdb8bb21e347f6801717897e)
This commit is contained in:
chunmao.guo
2025-02-10 18:52:45 +08:00
committed by Noisyfox
parent 0581ddd0ba
commit e691ddca38
2 changed files with 39 additions and 1 deletions

View File

@@ -18,9 +18,18 @@ private:
void OnPaint(wxPaintEvent &evt);
void PaintForeground(wxDC &dc, const struct tagRECT &rc) override;
#endif
#ifdef __WXOSX__
void DoSetSize(int x, int y, int width, int height, int sizeFlags) override;
void LayoutBadge();
#endif
private:
#ifdef __WXMSW__
ScalableBitmap badge;
#endif
#ifdef __WXOSX__
ScalableButton * badge { nullptr };
#endif
};
#endif // !slic3r_GUI_StaticGroup_hpp_