summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include/ctext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/include/ctext.hxx')
-rw-r--r--NxWidgets/libnxwidgets/include/ctext.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/NxWidgets/libnxwidgets/include/ctext.hxx b/NxWidgets/libnxwidgets/include/ctext.hxx
index 8f8ee5783..a58d32eeb 100644
--- a/NxWidgets/libnxwidgets/include/ctext.hxx
+++ b/NxWidgets/libnxwidgets/include/ctext.hxx
@@ -147,6 +147,12 @@ namespace NXWidgets
CText(CNxFont *font, const CNxString &text, nxgl_coord_t width);
/**
+ * Destructor.
+ */
+
+ virtual ~CText(void) {}
+
+ /**
* Set the text in the string.
*
* @param text Char array to use as the new data for this string.