Author: mordante
Date: Thu May 21 21:12:33 2009
New Revision: 35806
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35806&view=rev
Log:
Remove the unused function twidget::can_shrink_width.
Modified:
trunk/src/gui/widgets/label.hpp
trunk/src/gui/widgets/widget.hpp
Modified: trunk/src/gui/widgets/label.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/label.hpp?rev=35806&r1=35805&r2=35806&view=diff
==============================================================================
--- trunk/src/gui/widgets/label.hpp (original)
+++ trunk/src/gui/widgets/label.hpp Thu May 21 21:12:33 2009
@@ -33,9 +33,6 @@
/** Inherited from twidget. */
bool can_wrap() const { return can_wrap_; }
-
- /** Inherited from twidget. */
- bool can_shrink_width() const { return true; }
/** Inherited from tcontrol. */
void set_active(const bool active)
Modified: trunk/src/gui/widgets/widget.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/widget.hpp?rev=35806&r1=35805&r2=35806&view=diff
==============================================================================
--- trunk/src/gui/widgets/widget.hpp (original)
+++ trunk/src/gui/widgets/widget.hpp Thu May 21 21:12:33 2009
@@ -280,9 +280,6 @@
virtual void layout_use_horizontal_scrollbar(const unsigned
/*maximum_width*/)
{ assert(has_horizontal_scrollbar()); }
- /** Can the widget reduce its width. */
- virtual bool can_shrink_width() const { return false; }
-
/**
* Does the widget have a vertical scrollbar.
*
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits