Deprecate Set{Height,Width,Depth} for other platforms as well

Fixes GTK build with --disable-compat30
See https://github.com/wxWidgets/wxWidgets/pull/925
This commit is contained in:
Paul Cornett
2018-09-23 20:02:21 -07:00
parent 6bc086747e
commit 7872b9fd38
8 changed files with 28 additions and 15 deletions

View File

@@ -66,9 +66,11 @@ public:
virtual bool CopyFromIcon(const wxIcon& icon);
// implementation:
virtual void SetHeight(int height);
virtual void SetWidth(int width);
virtual void SetDepth(int depth);
#if WXWIN_COMPATIBILITY_3_0
wxDEPRECATED(virtual void SetHeight(int height));
wxDEPRECATED(virtual void SetWidth(int width));
wxDEPRECATED(virtual void SetDepth(int depth));
#endif
void *GetRawData(wxPixelDataBase& data, int bpp);
void UngetRawData(wxPixelDataBase& data);