summaryrefslogtreecommitdiff
path: root/lib/widgets.cc
diff options
context:
space:
mode:
authorpixel <pixel>2006-02-02 11:01:13 +0000
committerpixel <pixel>2006-02-02 11:01:13 +0000
commit14e347007a2af81f2aa05b501e31a241b1a97ca9 (patch)
treedb91ab4fe2c5e9dae629307025801f5d06008f19 /lib/widgets.cc
parentaac581d00d4efa8c3b03fd802f22457d4127e23f (diff)
Fixing old Dalos, and fixing Linux compilation.
Diffstat (limited to 'lib/widgets.cc')
-rw-r--r--lib/widgets.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/widgets.cc b/lib/widgets.cc
index 02b6d6f..2cc7295 100644
--- a/lib/widgets.cc
+++ b/lib/widgets.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: widgets.cc,v 1.18 2006-02-01 18:32:26 pixel Exp $ */
+/* $Id: widgets.cc,v 1.19 2006-02-02 11:01:13 pixel Exp $ */
#include <SDL.h>
#include <vector>
@@ -724,7 +724,7 @@ mogltk::widgets::Button::Button(action * _a, shape * sh, widget * father, int x,
caption = _caption;
}
-mogltk::widgets::Button::~Button() {
+mogltk::widgets::Button::~Button() throw (GeneralException) {
if (cascade)
delete cascade;
}
@@ -859,7 +859,7 @@ mogltk::widgets::MsgBox::MsgBox(action * a, shape * sh, mogltk::widget * father,
set_exclusive(father);
}
-mogltk::widgets::MsgBox::~MsgBox() {
+mogltk::widgets::MsgBox::~MsgBox() throw (GeneralException) {
unset_exclusive(Father());
}