From 2bc22450d245829529c9345c156e0f6575b79512 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Thu, 22 Sep 2016 12:06:23 -0600 Subject: [PATCH] libnxwidgets: Allow NxWidgets::CListDataItems subclasses access to text and value --- libnxwidgets/include/clistdataitem.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libnxwidgets/include/clistdataitem.hxx b/libnxwidgets/include/clistdataitem.hxx index 5cb60f3e7..b1dc6a276 100644 --- a/libnxwidgets/include/clistdataitem.hxx +++ b/libnxwidgets/include/clistdataitem.hxx @@ -1,7 +1,7 @@ /**************************************************************************** * NxWidgets/libnxwidgets/include/clistdataitem.hxx * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. + * Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -102,7 +102,7 @@ namespace NXWidgets class CListDataItem { - private: + protected: CNxString m_text; /**< Text to display for option. */ uint32_t m_value; /**< Option value. */ bool m_isSelected; /**< True if the option is selected. */