| 205 | } |
| 206 | |
| 207 | void TimeToolBar::SetAudioTimeFormat(const NumericFormatID & format) |
| 208 | { |
| 209 | // Set the format if it's different from previous |
| 210 | if (mAudioTime->SetFormatName(format)) { |
| 211 | // Simulate an update since the format has changed. |
| 212 | wxCommandEvent e; |
| 213 | e.SetString(format.GET()); |
| 214 | OnUpdate(e); |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | // The intention of this is to get the resize handle in the |
| 219 | // correct position, after we've let go in dragging. |
no test coverage detected