Addition of overrides in diverse headers
This commit is contained in:
@@ -95,23 +95,23 @@ public:
|
||||
~wxAnimationCtrl();
|
||||
|
||||
public:
|
||||
virtual bool LoadFile(const wxString& filename, wxAnimationType type = wxANIMATION_TYPE_ANY);
|
||||
virtual bool Load(wxInputStream& stream, wxAnimationType type = wxANIMATION_TYPE_ANY);
|
||||
virtual bool LoadFile(const wxString& filename, wxAnimationType type = wxANIMATION_TYPE_ANY) wxOVERRIDE;
|
||||
virtual bool Load(wxInputStream& stream, wxAnimationType type = wxANIMATION_TYPE_ANY) wxOVERRIDE;
|
||||
|
||||
virtual void Stop();
|
||||
virtual bool Play()
|
||||
virtual void Stop() wxOVERRIDE;
|
||||
virtual bool Play() wxOVERRIDE
|
||||
{ return Play(true /* looped */); }
|
||||
virtual bool IsPlaying() const
|
||||
virtual bool IsPlaying() const wxOVERRIDE
|
||||
{ return m_isPlaying; }
|
||||
|
||||
void SetAnimation(const wxAnimation &animation);
|
||||
wxAnimation GetAnimation() const
|
||||
void SetAnimation(const wxAnimation &animation) wxOVERRIDE;
|
||||
wxAnimation GetAnimation() const wxOVERRIDE
|
||||
{ return m_animation; }
|
||||
|
||||
virtual void SetInactiveBitmap(const wxBitmap &bmp);
|
||||
virtual void SetInactiveBitmap(const wxBitmap &bmp) wxOVERRIDE;
|
||||
|
||||
// override base class method
|
||||
virtual bool SetBackgroundColour(const wxColour& col);
|
||||
virtual bool SetBackgroundColour(const wxColour& col) wxOVERRIDE;
|
||||
|
||||
public: // event handlers
|
||||
|
||||
@@ -153,8 +153,8 @@ protected: // internal utilities
|
||||
bool RebuildBackingStoreUpToFrame(unsigned int);
|
||||
void DrawFrame(wxDC &dc, unsigned int);
|
||||
|
||||
virtual void DisplayStaticImage();
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual void DisplayStaticImage() wxOVERRIDE;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
unsigned int m_currentFrame; // Current frame
|
||||
|
@@ -98,30 +98,30 @@ public:
|
||||
unsigned int pos, wxClientData *clientData);
|
||||
|
||||
// Sets the image for the given item.
|
||||
virtual void SetItemBitmap(unsigned int n, const wxBitmap& bitmap);
|
||||
virtual bool SetFont(const wxFont& font);
|
||||
virtual void SetItemBitmap(unsigned int n, const wxBitmap& bitmap) wxOVERRIDE;
|
||||
virtual bool SetFont(const wxFont& font) wxOVERRIDE;
|
||||
|
||||
protected:
|
||||
|
||||
virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, int item, int flags) const;
|
||||
virtual void OnDrawItem(wxDC& dc, const wxRect& rect, int item, int flags) const;
|
||||
virtual wxCoord OnMeasureItem(size_t item) const;
|
||||
virtual wxCoord OnMeasureItemWidth(size_t item) const;
|
||||
virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, int item, int flags) const wxOVERRIDE;
|
||||
virtual void OnDrawItem(wxDC& dc, const wxRect& rect, int item, int flags) const wxOVERRIDE;
|
||||
virtual wxCoord OnMeasureItem(size_t item) const wxOVERRIDE;
|
||||
virtual wxCoord OnMeasureItemWidth(size_t item) const wxOVERRIDE;
|
||||
|
||||
// Event handlers
|
||||
void OnSize(wxSizeEvent& event);
|
||||
|
||||
virtual wxSize DoGetBestSize() const;
|
||||
virtual wxSize DoGetBestSize() const wxOVERRIDE;
|
||||
|
||||
virtual wxItemContainer* GetItemContainer() { return this; }
|
||||
virtual wxWindow* GetControl() { return this; }
|
||||
virtual wxItemContainer* GetItemContainer() wxOVERRIDE { return this; }
|
||||
virtual wxWindow* GetControl() wxOVERRIDE { return this; }
|
||||
|
||||
// wxItemContainer implementation
|
||||
virtual int DoInsertItems(const wxArrayStringsAdapter & items,
|
||||
unsigned int pos,
|
||||
void **clientData, wxClientDataType type);
|
||||
virtual void DoClear();
|
||||
virtual void DoDeleteOneItem(unsigned int n);
|
||||
void **clientData, wxClientDataType type) wxOVERRIDE;
|
||||
virtual void DoClear() wxOVERRIDE;
|
||||
virtual void DoDeleteOneItem(unsigned int n) wxOVERRIDE;
|
||||
|
||||
private:
|
||||
bool m_inResize;
|
||||
|
Reference in New Issue
Block a user