summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_content_gui.cpp5
-rw-r--r--src/network/network_gui.cpp10
2 files changed, 0 insertions, 15 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp
index 8e5214ebc..44b37cc4a 100644
--- a/src/network/network_content_gui.cpp
+++ b/src/network/network_content_gui.cpp
@@ -138,11 +138,6 @@ public:
_network_content_client.RemoveCallback(this);
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
if (widget != NCDSWW_BACKGROUND) return;
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 6db9f5d1b..6b1c15da7 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1937,11 +1937,6 @@ struct NetworkClientListPopupWindow : Window {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void OnMouseLoop()
{
/* We selected an action */
@@ -2163,11 +2158,6 @@ struct NetworkJoinStatusWindow : Window {
this->InitNested(desc, 0);
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
if (widget != NJSW_BACKGROUND) return;