Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=592024044d6ded56bae37ea3d26bf4361067bfdf
commit 592024044d6ded56bae37ea3d26bf4361067bfdf Author: James Buren <[email protected]> Date: Mon Apr 28 09:03:39 2014 -0500 add virtual destructor for Widget base class diff --git a/src-new/ui.cpp b/src-new/ui.cpp index 6a78c64..e390db9 100644 --- a/src-new/ui.cpp +++ b/src-new/ui.cpp @@ -89,4 +89,8 @@ const unsigned char Widget::ALIGN_BOTTOM = (1 << 3); const unsigned char Widget::EXPAND_HORIZONTAL = (1 << 0); const unsigned char Widget::EXPAND_VERTICAL = (1 << 1); + +Widget::~Widget() +{ +} // Widget Class End diff --git a/src-new/ui.hpp b/src-new/ui.hpp index ac7d15a..784d8a1 100644 --- a/src-new/ui.hpp +++ b/src-new/ui.hpp @@ -22,4 +22,6 @@ class Widget static const unsigned char EXPAND_HORIZONTAL; static const unsigned char EXPAND_VERTICAL; + + virtual ~Widget(); }; _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
