| 32 | } |
| 33 | |
| 34 | void IconButton::SetSelected(bool selected) |
| 35 | { |
| 36 | _selected = selected; |
| 37 | wxColor bg = wxSystemSettings::GetColour( |
| 38 | _selected ? wxSYS_COLOUR_HIGHLIGHT : wxSYS_COLOUR_FRAMEBK); |
| 39 | SetBackgroundColour(bg); |
| 40 | Refresh(); |
| 41 | } |
| 42 | |
| 43 | void IconButton::OnMouseClick(wxMouseEvent&) |
| 44 | { |