| 203 | } |
| 204 | |
| 205 | void SpinButton::HandleFocusChange( Widget::Ptr focused_widget ) { |
| 206 | Entry::HandleFocusChange( focused_widget ); |
| 207 | |
| 208 | if( focused_widget != shared_from_this() ) { |
| 209 | UpdateAdjustmentFromText(); |
| 210 | } |
| 211 | |
| 212 | UpdateTextFromAdjustment(); |
| 213 | } |
| 214 | |
| 215 | Adjustment::Ptr SpinButton::GetAdjustment() const { |
| 216 | return m_adjustment; |
nothing calls this directly
no outgoing calls
no test coverage detected