| 120 | } |
| 121 | |
| 122 | void RoundedStaticBitmap::SetRadius(int radius) |
| 123 | { |
| 124 | if (mRadius == radius) |
| 125 | return; |
| 126 | |
| 127 | mRadius = radius; |
| 128 | auto roundedImage = RoundedImage(mImage, mRadius); |
| 129 | wxStaticBitmap::SetBitmap(wxBitmap(roundedImage)); |
| 130 | } |
| 131 | |
| 132 | int RoundedStaticBitmap::GetRadius() const |
| 133 | { |
nothing calls this directly
no test coverage detected