summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-18 23:08:34 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-18 23:08:34 +0000
commit6cf694d2da5a661373a58c70e3d8e07cc8223eed (patch)
tree8c305f903a5334c3b7b2a48830c6f63199dedfda /NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx
parentf2307dd23f254c58cbc85bcf553ec583509a7082 (diff)
downloadnuttx-6cf694d2da5a661373a58c70e3d8e07cc8223eed.tar.gz
nuttx-6cf694d2da5a661373a58c70e3d8e07cc8223eed.tar.bz2
nuttx-6cf694d2da5a661373a58c70e3d8e07cc8223eed.zip
Final refactoring and implementation of delayed window deletion logic. Works worse now, but the changes are important and need to be checked in now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4747 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx')
-rw-r--r--NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx b/NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx
index b6119a2ae..26bf1411b 100644
--- a/NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx
+++ b/NxWidgets/libnxwidgets/include/ilistdataeventhandler.hxx
@@ -104,6 +104,15 @@ namespace NXWidgets
{
public:
/**
+ * A virtual destructor is required in order to override the IListDataEventHandler
+ * destructor. We do this because if we delete IListDataEventHandler, we want the
+ * destructor of the class that inherits from IListDataEventHandler to run, not this
+ * one.
+ */
+
+ virtual ~IListDataEventHandler(void) { }
+
+ /**
* Handle data changes.
*
* @param e Event arguments.