Author: mordante
Date: Thu May 21 21:12:38 2009
New Revision: 35807
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35807&view=rev
Log:
Remove the unused function twidget::layout_shrink_height.
Modified:
trunk/src/gui/widgets/widget.hpp
Modified: trunk/src/gui/widgets/widget.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/widget.hpp?rev=35807&r1=35806&r2=35807&view=diff
==============================================================================
--- trunk/src/gui/widgets/widget.hpp (original)
+++ trunk/src/gui/widgets/widget.hpp Thu May 21 21:12:38 2009
@@ -306,16 +306,6 @@
{ assert(has_vertical_scrollbar()); }
/**
- * Tries to shrink a widget so it fits in the wanted height.
- *
- * @todo implement this function properly.
- *
- * @param maximum_height The wanted maximum height of the widget.
- *
- */
- virtual void layout_shrink_height(const unsigned /*maximum_height*/) { }
-
- /**
* Sets the size of the widget.
*
* @param origin The position of top left of the widget.
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits