summaryrefslogtreecommitdiff
path: root/lib
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
parentaac581d00d4efa8c3b03fd802f22457d4127e23f (diff)
Fixing old Dalos, and fixing Linux compilation.
Diffstat (limited to 'lib')
-rw-r--r--lib/contextmenu.cc4
-rw-r--r--lib/inputtext.cc6
-rw-r--r--lib/widgets.cc6
3 files changed, 8 insertions, 8 deletions
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 <SDL.h>
#include <vector>
@@ -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<node>::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 <SDL.h>
#include <vector>
@@ -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 <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());
}