#ifndef slic3r_GUI_StaticGroup_hpp_ #define slic3r_GUI_StaticGroup_hpp_ #include "../wxExtensions.hpp" #include class StaticGroup : public wxStaticBox { public: StaticGroup(wxWindow *parent, wxWindowID id, const wxString &label); public: void ShowBadge(bool show); private: #ifdef __WXMSW__ void OnPaint(wxPaintEvent &evt); void PaintForeground(wxDC &dc, const struct tagRECT &rc) override; #endif private: ScalableBitmap badge; }; #endif // !slic3r_GUI_StaticGroup_hpp_