| 141 | } |
| 142 | |
| 143 | void CClickWindowText::UpdateLockedButtons (wxControl* btnLocked, wxControl* btnNoLocked1, |
| 144 | wxControl* btnNoLocked2, wxControl* btnNoLocked3, wxControl* btnNoLocked4) |
| 145 | { |
| 146 | wxString label= ((wxToggleButton*)btnLocked)->GetLabel(); |
| 147 | label.SetChar (0, wxChar('[')); |
| 148 | label.SetChar (label.Length()-1, wxChar(']')); |
| 149 | ((wxToggleButton*)btnLocked)->SetLabel(label); |
| 150 | |
| 151 | label= ((wxToggleButton*)btnNoLocked1)->GetLabel(); |
| 152 | label.SetChar (0, wxChar(' ')); |
| 153 | label.SetChar (label.Length()-1, wxChar(' ')); |
| 154 | ((wxToggleButton*)btnNoLocked1)->SetLabel(label); |
| 155 | |
| 156 | label= ((wxToggleButton*)btnNoLocked2)->GetLabel(); |
| 157 | label.SetChar (0, wxChar(' ')); |
| 158 | label.SetChar (label.Length()-1, wxChar(' ')); |
| 159 | ((wxToggleButton*)btnNoLocked2)->SetLabel(label); |
| 160 | |
| 161 | label= ((wxToggleButton*)btnNoLocked3)->GetLabel(); |
| 162 | label.SetChar (0, wxChar(' ')); |
| 163 | label.SetChar (label.Length()-1, wxChar(' ')); |
| 164 | ((wxToggleButton*)btnNoLocked3)->SetLabel(label); |
| 165 | |
| 166 | label= ((wxToggleButton*)btnNoLocked4)->GetLabel(); |
| 167 | label.SetChar (0, wxChar(' ')); |
| 168 | label.SetChar (label.Length()-1, wxChar(' ')); |
| 169 | ((wxToggleButton*)btnNoLocked4)->SetLabel(label); |
| 170 | } |
| 171 | |
| 172 | wxControl* CClickWindowText::GetNoClickButton() |
| 173 | { |
nothing calls this directly
no outgoing calls
no test coverage detected