diff options
author | Michael Lutz <michi@icosahedron.de> | 2019-04-02 21:30:44 +0200 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2019-04-09 22:45:15 +0200 |
commit | 9325d63d8e55758a953f535c5f90534ab9bc01e3 (patch) | |
tree | 631cce74931a9c91701cc1be34cc3a1f8b809ef1 /src/widgets | |
parent | fbc4cef180a60d8875df6298364f0459beb3568a (diff) | |
download | openttd-9325d63d8e55758a953f535c5f90534ab9bc01e3.tar.xz |
Fix: Forgotten override keywords for DropDownListIconItem.
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/dropdown_type.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h index d8e9b9028..bf8638a92 100644 --- a/src/widgets/dropdown_type.h +++ b/src/widgets/dropdown_type.h @@ -89,9 +89,9 @@ class DropDownListIconItem : public DropDownListParamStringItem { public: DropDownListIconItem(SpriteID sprite, PaletteID pal, StringID string, int result, bool masked); - /* virtual */ uint Height(uint width) const; - /* virtual */ uint Width() const; - /* virtual */ void Draw(int left, int right, int top, int bottom, bool sel, Colours bg_colour) const; + uint Height(uint width) const override; + uint Width() const override; + void Draw(int left, int right, int top, int bottom, bool sel, Colours bg_colour) const override; void SetDimension(Dimension d); }; |