| 132 | } |
| 133 | |
| 134 | void TimeToolBar::UpdatePrefs() |
| 135 | { |
| 136 | // Since the language may have changed, we need to force an update to accommodate |
| 137 | // different length text |
| 138 | wxCommandEvent e; |
| 139 | e.SetString(mAudioTime->GetFormatName().GET()); |
| 140 | OnUpdate(e); |
| 141 | |
| 142 | // Language may have changed so reset label |
| 143 | SetLabel(XO("Time")); |
| 144 | |
| 145 | // Give the toolbar a chance |
| 146 | ToolBar::UpdatePrefs(); |
| 147 | } |
| 148 | |
| 149 | void TimeToolBar::SetToDefaultSize() |
| 150 | { |
nothing calls this directly
no test coverage detected