mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Generalize TimeRenderer and TimeEditor to handle frequencies in grid
This commit is contained in:
@@ -163,7 +163,8 @@ LabelDialog::LabelDialog(wxWindow *parent,
|
||||
// do it for us. (The DecRef() that is needed after GetDefaultEditorForType
|
||||
// becomes the duty of the wxGridCellAttr objects after we set them in the grid.)
|
||||
mChoiceEditor = (ChoiceEditor *) mGrid->GetDefaultEditorForType(GRID_VALUE_CHOICE);
|
||||
mTimeEditor = (TimeEditor *) mGrid->GetDefaultEditorForType(GRID_VALUE_TIME);
|
||||
mTimeEditor = static_cast<NumericEditor*>
|
||||
(mGrid->GetDefaultEditorForType(GRID_VALUE_TIME));
|
||||
|
||||
// Initialize and set the track name column attributes
|
||||
wxGridCellAttr *attr;
|
||||
|
||||
Reference in New Issue
Block a user