From 58df1ee13f734e6f494b031da737510053bbc58f Mon Sep 17 00:00:00 2001 From: Liam Treacy Date: Mon, 21 Jan 2019 11:00:25 +0000 Subject: [PATCH] Added wxOVERRIDE specifiers to qt wxListBox methods --- include/wx/qt/listbox.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wx/qt/listbox.h b/include/wx/qt/listbox.h index e0086cda58..0ffff6e51c 100644 --- a/include/wx/qt/listbox.h +++ b/include/wx/qt/listbox.h @@ -49,8 +49,8 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr); - virtual bool IsSelected(int n) const; - virtual int GetSelections(wxArrayInt& aSelections) const; + virtual bool IsSelected(int n) const wxOVERRIDE; + virtual int GetSelections(wxArrayInt& aSelections) const wxOVERRIDE; virtual unsigned int GetCount() const; virtual wxString GetString(unsigned int n) const; @@ -63,9 +63,9 @@ public: void QtSendEvent(wxEventType evtType, const QModelIndex &index, bool selected); protected: - virtual void DoSetFirstItem(int n); + virtual void DoSetFirstItem(int n) wxOVERRIDE; - virtual void DoSetSelection(int n, bool select); + virtual void DoSetSelection(int n, bool select) wxOVERRIDE; virtual int DoInsertItems(const wxArrayStringsAdapter & items, unsigned int pos,