174: wxFrame(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize,
175 wxFRAME_SHAPED | wxNO_BORDER | wxFRAME_NO_TASKBAR | wxFRAME_FLOAT_ON_PARENT )
176{
177 SetBackgroundStyle(wxBG_STYLE_PAINT);
178 SetBackgroundColour(wxTransparentColour);
179
181 mFont.SetFamily(wxFONTFAMILY_SWISS);
182 mFont.SetStyle(wxFONTSTYLE_NORMAL);
183 mFont.SetWeight(wxFONTWEIGHT_NORMAL);
184
186 for (
const auto &
label : labels ) {
187 int width, height;
191 }
192
193
196
197#if defined(__WXMAC__)
198
199
201 wxMemoryDC dc(shape);
202
203 dc.SetPen(*wxBLACK_PEN);
204 dc.SetBrush(*wxBLACK_BRUSH);
206 dc.SelectObject(wxNullBitmap);
207
208 SetShape(wxRegion(shape, *wxWHITE));
209#else
210 wxGraphicsPath path = wxGraphicsRenderer::GetDefaultRenderer()->CreatePath();
212 SetShape(path);
213#endif
214}
wxString Translation() const