From 14e347007a2af81f2aa05b501e31a241b1a97ca9 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 2 Feb 2006 11:01:13 +0000 Subject: Fixing old Dalos, and fixing Linux compilation. --- lib/contextmenu.cc | 4 ++-- lib/inputtext.cc | 6 +++--- lib/widgets.cc | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/contextmenu.cc b/lib/contextmenu.cc index 5b8309e..1c513cf 100644 --- a/lib/contextmenu.cc +++ b/lib/contextmenu.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: contextmenu.cc,v 1.1 2005-12-02 16:21:59 pixel Exp $ */ +/* $Id: contextmenu.cc,v 1.2 2006-02-02 11:01:13 pixel Exp $ */ #include #include @@ -81,7 +81,7 @@ int mogltk::widgets::ContextMenu::node::GetH() { mogltk::widgets::ContextMenu::ContextMenu(shape * sh, mogltk::widget * father, int x, int y) : widget(father, x, y, 8, 4, 1, "ContextMenu", sh), selected(-1), subselected(0), in_click(false), sticky(false) { } -mogltk::widgets::ContextMenu::~ContextMenu() { +mogltk::widgets::ContextMenu::~ContextMenu() throw (GeneralException) { std::vector::iterator i; ContextMenu * sub; diff --git a/lib/inputtext.cc b/lib/inputtext.cc index a73a8cd..094f04b 100644 --- a/lib/inputtext.cc +++ b/lib/inputtext.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: inputtext.cc,v 1.2 2006-01-31 17:02:39 pixel Exp $ */ +/* $Id: inputtext.cc,v 1.3 2006-02-02 11:01:13 pixel Exp $ */ #include #include @@ -36,7 +36,7 @@ mogltk::widgets::InputText::InputText(mogltk::widgets::action * _a, shape * sh, set_timed_event(500); } -mogltk::widgets::InputText::~InputText() { +mogltk::widgets::InputText::~InputText() throw (GeneralException) { delete it_keyevent; } @@ -130,7 +130,7 @@ mogltk::widgets::InputDialog::InputDialog(mogltk::widgets::action * a, shape * s set_exclusive(father); } -mogltk::widgets::InputDialog::~InputDialog() { +mogltk::widgets::InputDialog::~InputDialog() throw (GeneralException) { unset_exclusive(Father()); } 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 #include @@ -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()); } -- cgit v1.2.3