From 9c91a9767b570fdc3c3e19e1f452f9a8257f9999 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 18 Sep 2010 18:50:55 +0000 Subject: trade updates --- src/ui/widget.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui/widget.h') diff --git a/src/ui/widget.h b/src/ui/widget.h index 856fca0..880b71c 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h @@ -241,9 +241,6 @@ public: event_emit(this, event, data); } - /// remove all child widgets - virtual void remove_children(); - protected: /// type definition for child widgets typedef std::list Children; @@ -343,6 +340,9 @@ protected: /// remove a child widget virtual void remove_child(Widget *child); + + /// remove all child widgets + virtual void remove_children(); private: void draw_debug_border(); -- cgit v1.2.3