summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/cnxwidget.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/src/cnxwidget.cxx')
-rw-r--r--NxWidgets/libnxwidgets/src/cnxwidget.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/NxWidgets/libnxwidgets/src/cnxwidget.cxx b/NxWidgets/libnxwidgets/src/cnxwidget.cxx
index 6d6ddb7b8..5060e42c2 100644
--- a/NxWidgets/libnxwidgets/src/cnxwidget.cxx
+++ b/NxWidgets/libnxwidgets/src/cnxwidget.cxx
@@ -466,6 +466,8 @@ void CNxWidget::setBorderless(bool borderless)
* Sets the font.
*
* @param font A pointer to the font to use.
+ *
+ * NOTE: This font is not deleted when the widget is destroyed!
*/
void CNxWidget::setFont(CNxFont *font)
@@ -1408,6 +1410,7 @@ const CNxWidget *CNxWidget::getChild(int index) const
{
return m_children[index];
}
+
return (CNxWidget *)NULL;
}