1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 09:31:15 +02:00

some override

This commit is contained in:
Paul Licameli
2018-11-16 15:24:16 -05:00
parent 911d468700
commit ba467b3632

View File

@@ -79,7 +79,7 @@ public:
const wxPoint & pos = wxDefaultPosition, const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize); const wxSize & size = wxDefaultSize);
virtual ~KeyView(); virtual ~KeyView();
wxString GetName() const; // Gets the control name from the base class wxString GetName() const override; // Gets the control name from the base class
void RefreshBindings(const CommandIDs & names, void RefreshBindings(const CommandIDs & names,
const wxArrayString & categories, const wxArrayString & categories,
@@ -120,9 +120,9 @@ private:
int LineToIndex(int line) const; int LineToIndex(int line) const;
int IndexToLine(int index) const; int IndexToLine(int index) const;
void OnDrawBackground(wxDC & dc, const wxRect & rect, size_t line) const; void OnDrawBackground(wxDC & dc, const wxRect & rect, size_t line) const override;
void OnDrawItem(wxDC & dc, const wxRect & rect, size_t line) const; void OnDrawItem(wxDC & dc, const wxRect & rect, size_t line) const override;
wxCoord OnMeasureItem(size_t line) const; wxCoord OnMeasureItem(size_t line) const override;
void OnSelected(wxCommandEvent & event); void OnSelected(wxCommandEvent & event);
void OnSetFocus(wxFocusEvent & event); void OnSetFocus(wxFocusEvent & event);