diff options
-rw-r--r-- | src/misc_gui.cpp | 2 | ||||
-rw-r--r-- | src/network/network_gui.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index 0566fffc3..86c17cdcc 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -1003,7 +1003,7 @@ struct QueryStringWindow : public Window } } - virtual void DrawWidget(const Rect &r, int widget) const + void DrawWidget(const Rect &r, int widget) const override { if (widget != WID_QS_WARNING) return; diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index d39b61dbf..6486f4531 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -2193,7 +2193,7 @@ struct NetworkCompanyPasswordWindow : public Window { } } - virtual void DrawWidget(const Rect &r, int widget) const + void DrawWidget(const Rect &r, int widget) const override { if (widget != WID_NCP_WARNING) return; |