Author: mordante
Date: Sun Dec 7 16:09:20 2008
New Revision: 31340
URL: http://svn.gna.org/viewcvs/wesnoth?rev=31340&view=rev
Log:
Import find_widget from twidget.
This loads the templated version, which can be handy at times.
Modified:
trunk/src/gui/widgets/grid.hpp
Modified: trunk/src/gui/widgets/grid.hpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/grid.hpp?rev=31340&r1=31339&r2=31340&view=diff
==============================================================================
--- trunk/src/gui/widgets/grid.hpp (original)
+++ trunk/src/gui/widgets/grid.hpp Sun Dec 7 16:09:20 2008
@@ -222,6 +222,9 @@
/** Inherited from twidget.*/
const twidget* find_widget(const std::string& id,
const bool must_be_active) const;
+
+ /** Import overloaded versions. */
+ using twidget::find_widget;
/** Inherited from twidget.*/
bool has_widget(const twidget* widget) const;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits