From 8cbb17384d7db135552b8bb0e4e06b918ffa91a0 Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 14 Jun 2008 01:45:58 +0000 Subject: (svn r13514) -Codechange: Removal of dead code (or useless, to be more exact) --- src/toolbar_gui.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index bd8df7d5d..1bccad3c1 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -866,12 +866,6 @@ struct MainToolbarWindow : Window { _place_proc(tile); } - virtual void OnPlaceObjectAbort() - { - this->RaiseWidget(25); - this->SetDirty(); - } - virtual void OnTick() { if (this->IsWidgetLowered(0) != !!_pause_game) { @@ -1080,12 +1074,6 @@ public: _place_proc(tile); } - virtual void OnPlaceObjectAbort() - { - this->RaiseWidget(25); - this->SetDirty(); - } - virtual void OnResize(Point new_size, Point delta) { /* There are 15 buttons plus some spacings if the space allows it. -- cgit v1.2.3-70-g09d2