mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 03:52:05 +00:00
Remove the unused function twidget::can_shrink_width.
This commit is contained in:
parent
0fd7c53060
commit
6bc4253cea
@ -34,9 +34,6 @@ public:
|
||||
/** 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)
|
||||
{ if(get_active() != active) set_state(active ? ENABLED : DISABLED); }
|
||||
|
@ -280,9 +280,6 @@ public:
|
||||
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.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user