diff options
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index b574cee06..4f9aecaec 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -470,11 +470,6 @@ public: } } - virtual void OnPaint() - { - this->DrawWidgets(); - } - virtual void OnClick(Point pt, int widget, int click_count) { switch (widget) { @@ -1234,11 +1229,6 @@ public: if (widget == IDW_DROPDOWN_CRITERIA) SetDParam(0, IndustryDirectoryWindow::sorter_names[this->industries.SortType()]); } - virtual void OnPaint() - { - this->DrawWidgets(); - } - virtual void DrawWidget(const Rect &r, int widget) const { switch (widget) { @@ -2585,11 +2575,6 @@ struct IndustryCargoesWindow : public Window { } } - virtual void OnPaint() - { - this->DrawWidgets(); - } - virtual void OnResize() { this->vscroll->SetCapacityFromWidget(this, ICW_PANEL); |