Use wxOVERRIDE for deprecated wxBitmap methods in wxQt too
When WXWIN_COMPATIBILITY_3_0 is on, compiling this header results in a bunch of harmless but annoying -Winconsistent-missing-override clang warnings, so add wxOVERRIDE to silence them. No real changes.
This commit is contained in:
@@ -67,9 +67,9 @@ public:
|
|||||||
|
|
||||||
// implementation:
|
// implementation:
|
||||||
#if WXWIN_COMPATIBILITY_3_0
|
#if WXWIN_COMPATIBILITY_3_0
|
||||||
wxDEPRECATED(virtual void SetHeight(int height));
|
wxDEPRECATED(virtual void SetHeight(int height) wxOVERRIDE);
|
||||||
wxDEPRECATED(virtual void SetWidth(int width));
|
wxDEPRECATED(virtual void SetWidth(int width) wxOVERRIDE);
|
||||||
wxDEPRECATED(virtual void SetDepth(int depth));
|
wxDEPRECATED(virtual void SetDepth(int depth) wxOVERRIDE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void *GetRawData(wxPixelDataBase& data, int bpp);
|
void *GetRawData(wxPixelDataBase& data, int bpp);
|
||||||
|
Reference in New Issue
Block a user