| 113 | #endif |
| 114 | |
| 115 | void RoundedStaticBitmap::SetImage(const wxImage& image) |
| 116 | { |
| 117 | mImage = image; |
| 118 | auto roundedImage = RoundedImage(mImage, mRadius); |
| 119 | wxStaticBitmap::SetBitmap(wxBitmap(roundedImage)); |
| 120 | } |
| 121 | |
| 122 | void RoundedStaticBitmap::SetRadius(int radius) |
| 123 | { |
no test coverage detected