use wxOVERRIDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,21 +60,21 @@ public:
|
||||
const wxString& name = wxEmptyString);
|
||||
|
||||
|
||||
virtual bool SetPageText(size_t n, const wxString& strText);
|
||||
virtual wxString GetPageText(size_t n) const;
|
||||
virtual int GetPageImage(size_t n) const;
|
||||
virtual bool SetPageImage(size_t n, int imageId);
|
||||
virtual bool SetPageText(size_t n, const wxString& strText) wxOVERRIDE;
|
||||
virtual wxString GetPageText(size_t n) const wxOVERRIDE;
|
||||
virtual int GetPageImage(size_t n) const wxOVERRIDE;
|
||||
virtual bool SetPageImage(size_t n, int imageId) wxOVERRIDE;
|
||||
virtual bool InsertPage(size_t n,
|
||||
wxWindow *page,
|
||||
const wxString& text,
|
||||
bool bSelect = false,
|
||||
int imageId = NO_IMAGE);
|
||||
virtual int SetSelection(size_t n)
|
||||
int imageId = NO_IMAGE) wxOVERRIDE;
|
||||
virtual int SetSelection(size_t n) wxOVERRIDE
|
||||
{ return DoSetSelection(n, SetSelection_SendEvent); }
|
||||
virtual int ChangeSelection(size_t n) { return DoSetSelection(n); }
|
||||
virtual void SetImageList(wxImageList *imageList);
|
||||
virtual int ChangeSelection(size_t n) wxOVERRIDE { return DoSetSelection(n); }
|
||||
virtual void SetImageList(wxImageList *imageList) wxOVERRIDE;
|
||||
|
||||
virtual bool DeleteAllPages();
|
||||
virtual bool DeleteAllPages() wxOVERRIDE;
|
||||
|
||||
// returns the choice control
|
||||
wxChoice* GetChoiceCtrl() const { return (wxChoice*)m_bookctrl; }
|
||||
@@ -82,21 +82,21 @@ public:
|
||||
// Override this to return true because the part of parent window
|
||||
// background between our controlling wxChoice and the page area should
|
||||
// show through.
|
||||
virtual bool HasTransparentBackground() { return true; }
|
||||
virtual bool HasTransparentBackground() wxOVERRIDE { return true; }
|
||||
|
||||
protected:
|
||||
virtual void DoSetWindowVariant(wxWindowVariant variant);
|
||||
virtual void DoSetWindowVariant(wxWindowVariant variant) wxOVERRIDE;
|
||||
|
||||
virtual wxWindow *DoRemovePage(size_t page);
|
||||
virtual wxWindow *DoRemovePage(size_t page) wxOVERRIDE;
|
||||
|
||||
void UpdateSelectedPage(size_t newsel)
|
||||
void UpdateSelectedPage(size_t newsel) wxOVERRIDE
|
||||
{
|
||||
m_selection = static_cast<int>(newsel);
|
||||
GetChoiceCtrl()->Select(m_selection);
|
||||
}
|
||||
|
||||
wxBookCtrlEvent* CreatePageChangingEvent() const;
|
||||
void MakeChangedEvent(wxBookCtrlEvent &event);
|
||||
wxBookCtrlEvent* CreatePageChangingEvent() const wxOVERRIDE;
|
||||
void MakeChangedEvent(wxBookCtrlEvent &event) wxOVERRIDE;
|
||||
|
||||
// event handlers
|
||||
void OnChoiceSelected(wxCommandEvent& event);
|
||||
|
Reference in New Issue
Block a user