| 242 | } |
| 243 | |
| 244 | void TrackPanel::Destroy( AudacityProject &project ) |
| 245 | { |
| 246 | auto *pPanel = GetAttachedWindows(project).Find<TrackPanel>( sKey ); |
| 247 | if (pPanel) { |
| 248 | pPanel->wxWindow::Destroy(); |
| 249 | GetAttachedWindows(project).Assign(sKey, nullptr); |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | // Don't warn us about using 'this' in the base member initializer list. |
| 254 | #ifndef __WXGTK__ //Get rid if this pragma for gtk |
no test coverage detected