| 1256 | return resources.mImages[iIndex]; |
| 1257 | } |
| 1258 | wxSize ThemeBase::ImageSize( int iIndex ) |
| 1259 | { |
| 1260 | wxASSERT( iIndex >= 0 ); |
| 1261 | auto &resources = *mpSet; |
| 1262 | EnsureInitialised(); |
| 1263 | wxImage & Image = resources.mImages[iIndex]; |
| 1264 | return wxSize( Image.GetWidth(), Image.GetHeight()); |
| 1265 | } |
| 1266 | |
| 1267 | /// Replaces both the image and the bitmap. |
| 1268 | void ThemeBase::ReplaceImage( int iIndex, wxImage * pImage ) |
no test coverage detected