summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index bf1357e71..850a0f28c 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -88,11 +88,6 @@ struct AIListWindow : public Window {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
switch (widget) {
@@ -284,11 +279,6 @@ struct AISettingsWindow : public Window {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
if (widget != AIS_WIDGET_BACKGROUND) return;
@@ -581,11 +571,6 @@ struct AIConfigWindow : public Window {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
switch (widget) {