summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index c3bf70312..7da0528a1 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -338,11 +338,6 @@ public:
this->SetWidgetDisabledState(TVW_CHANGENAME, _networking && !_network_server);
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void SetStringParameters(int widget) const
{
if (widget == TVW_CAPTION) SetDParam(0, this->town->index);
@@ -734,11 +729,6 @@ public:
this->last_sorting = this->towns.GetListing();
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void SetStringParameters(int widget) const
{
if (widget == TDW_BOTTOM_TEXT) SetDParam(0, GetWorldPopulation());