mail[Wesnoth-commits] r41466 - /trunk/src/gui/widgets/tree_view_node.hpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on March 06, 2010 - 14:38:
Author: mordante
Date: Sat Mar  6 14:38:45 2010
New Revision: 41466

URL: http://svn.gna.org/viewcvs/wesnoth?rev=41466&view=rev
Log:
Make the constructor and a typedef public.

They should have public in the first place, but the friendship with
ttree_node hid the problem.

Modified:
    trunk/src/gui/widgets/tree_view_node.hpp

Modified: trunk/src/gui/widgets/tree_view_node.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/tree_view_node.hpp?rev=41466&r1=41465&r2=41466&view=diff
==============================================================================
--- trunk/src/gui/widgets/tree_view_node.hpp (original)
+++ trunk/src/gui/widgets/tree_view_node.hpp Sat Mar  6 14:38:45 2010
@@ -31,6 +31,7 @@
        friend struct ttree_view_node_implementation;
        friend class ttree_view;
 
+public:
        typedef implementation::tbuilder_tree_view::tnode tnode_definition;
        ttree_view_node(const std::string& id
                        , const std::vector<tnode_definition>& 
node_definitions
@@ -38,7 +39,6 @@
                        , ttree_view* parent_widget
                        , const std::map<
                                std::string /* widget id */, string_map>& 
data);
-public:
 
        ~ttree_view_node();
 




Related Messages


Powered by MHonArc, Updated Sat Mar 06 14:40:11 2010