summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/widgets/dropdown_type.h6
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);
};