| 344 | |
| 345 | namespace { |
| 346 | AButton* MakeBitmapToggleButton(wxWindow *parent, |
| 347 | const wxImage& ImageOn, const wxImage& ImageOff) |
| 348 | { |
| 349 | auto pBtn = safenew AButton(parent, kEnableID, |
| 350 | wxDefaultPosition, wxDefaultSize, true); |
| 351 | pBtn->SetImages(ImageOff, ImageOff, ImageOn, ImageOn, ImageOff); |
| 352 | return pBtn; |
| 353 | } |
| 354 | constexpr int InnerMargin = 3; |
| 355 | } |
| 356 |
no test coverage detected