# HG changeset patch # User belugas # Date 2008-06-14 01:45:58 # Node ID d9e934097cfbfff28671f6e082db65e3924dc645 # Parent 0ec6289f6a02dcf49b5a6cbe12e203ea17522854 (svn r13514) -Codechange: Removal of dead code (or useless, to be more exact) diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp --- 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.