(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
authorbelugas
Sat, 14 Jun 2008 01:45:58 +0000
changeset 10960 c419d52e958e
parent 10959 d9b634a792b9
child 10961 7c4f84421dc5
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
src/toolbar_gui.cpp
--- a/src/toolbar_gui.cpp	Sat Jun 14 01:08:59 2008 +0000
+++ b/src/toolbar_gui.cpp	Sat Jun 14 01:45:58 2008 +0000
@@ -866,12 +866,6 @@
 		_place_proc(tile);
 	}
 
-	virtual void OnPlaceObjectAbort()
-	{
-		this->RaiseWidget(25);
-		this->SetDirty();
-	}
-
 	virtual void OnTick()
 	{
 		if (this->IsWidgetLowered(0) != !!_pause_game) {
@@ -1080,12 +1074,6 @@
 		_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.