MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / SetSelected

Method SetSelected

src/gui/iconbutton.cc:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34void 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
43void IconButton::OnMouseClick(wxMouseEvent&)
44{

Callers 1

SwitchToPageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected