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:
Vadim Zeitlin
2019-07-03 15:30:26 +02:00
parent 0f49825d64
commit 8e15849706

View File

@@ -67,9 +67,9 @@ public:
// implementation:
#if WXWIN_COMPATIBILITY_3_0
wxDEPRECATED(virtual void SetHeight(int height));
wxDEPRECATED(virtual void SetWidth(int width));
wxDEPRECATED(virtual void SetDepth(int depth));
wxDEPRECATED(virtual void SetHeight(int height) wxOVERRIDE);
wxDEPRECATED(virtual void SetWidth(int width) wxOVERRIDE);
wxDEPRECATED(virtual void SetDepth(int depth) wxOVERRIDE);
#endif
void *GetRawData(wxPixelDataBase& data, int bpp);