Add more wxOVERRIDE to avoid clang warnings

This fixes several thousands of -Winconsistent-missing-override warnings
given by Xcode 10 when building the library.
This commit is contained in:
Vadim Zeitlin
2019-04-17 19:05:31 +02:00
parent 22369e97fc
commit b53c516564
6 changed files with 9 additions and 9 deletions

View File

@@ -149,8 +149,8 @@ public:
bool CreateScaled(int logwidth, int logheight, int depth, double logicalScale) wxOVERRIDE;
// virtual bool Create( WXHICON icon) ;
virtual bool LoadFile(const wxString& name, wxBitmapType type = wxBITMAP_DEFAULT_TYPE);
virtual bool SaveFile(const wxString& name, wxBitmapType type, const wxPalette *cmap = NULL) const;
virtual bool LoadFile(const wxString& name, wxBitmapType type = wxBITMAP_DEFAULT_TYPE) wxOVERRIDE;
virtual bool SaveFile(const wxString& name, wxBitmapType type, const wxPalette *cmap = NULL) const wxOVERRIDE;
const wxBitmapRefData *GetBitmapData() const
{ return (const wxBitmapRefData *)m_refData; }