summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index 78301c0e2..b76067a41 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -717,11 +717,6 @@ struct BuildRailToolbarWindow : Window {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void OnClick(Point pt, int widget, int click_count)
{
if (widget >= RTW_BUILD_NS) {
@@ -1544,11 +1539,6 @@ public:
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
if (IsInsideMM(widget, BSW_SEMAPHORE_NORM, BSW_ELECTRIC_PBS_OWAY + 1)) {
@@ -1689,11 +1679,6 @@ struct BuildRailDepotWindow : public PickerWindowBase {
this->LowerWidget(_build_depot_direction + BRDW_DEPOT_NE);
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
if (!IsInsideMM(widget, BRDW_DEPOT_NE, BRDW_DEPOT_NW + 1)) return;