Don't make wxBitmap::GetScaledXXX() virtual

There should be never any need to override them, their behaviour is
fixed.

No real changes.
This commit is contained in:
Vadim Zeitlin
2022-01-06 15:43:57 +00:00
parent bbdbee3e57
commit 10977b0eb6
3 changed files with 11 additions and 9 deletions

View File

@@ -189,9 +189,10 @@ public:
// support for scaled bitmaps
virtual void SetScaleFactor(double scale);
virtual double GetScaleFactor() const;
virtual double GetScaledWidth() const;
virtual double GetScaledHeight() const;
virtual wxSize GetScaledSize() const;
double GetScaledWidth() const;
double GetScaledHeight() const;
wxSize GetScaledSize() const;
#if wxUSE_IMAGE
virtual wxImage ConvertToImage() const = 0;