diff --git a/include/nana/gui/widgets/tabbar.hpp b/include/nana/gui/widgets/tabbar.hpp index 093993f4..863b66ec 100644 --- a/include/nana/gui/widgets/tabbar.hpp +++ b/include/nana/gui/widgets/tabbar.hpp @@ -29,10 +29,10 @@ namespace nana { tabbar & widget; T & value; - std::size_t pos; ///< position of the item + std::size_t item_pos; ///< position of the item arg_tabbar(tabbar& wdg, T& v, std::size_t p) - : widget(wdg), value{ v }, pos(p) + : widget(wdg), value{ v }, item_pos(p) {} }; @@ -53,12 +53,12 @@ namespace nana : public arg_mouse { arg_tabbar_mouse(const arg_mouse& arg, tabbar& wdg, T& v, std::size_t p) - : arg_mouse{ arg }, widget(wdg), value{ v }, pos(p) + : arg_mouse{ arg }, widget(wdg), value{ v }, item_pos(p) {} tabbar & widget; T & value; - std::size_t pos; ///< position of the item + std::size_t item_pos; ///< position of the item }; template