From 4490b8643f2449da159c9284503eb2c443aa2e9e Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Wed, 1 Feb 2006 12:24:10 +0000 Subject: Made the OkDialog and ConfirmDialog classes proxies for their buttons' events. Removed the RequestTradeWindow class, replaced with a plain ConfirmDialog. Fixed a memory leak along the way. --- src/gui/ok_dialog.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/gui/ok_dialog.h') diff --git a/src/gui/ok_dialog.h b/src/gui/ok_dialog.h index 4eac77de..eb0da2c0 100644 --- a/src/gui/ok_dialog.h +++ b/src/gui/ok_dialog.h @@ -28,8 +28,6 @@ #include "window.h" -#include "../guichanfwd.h" - /** * An 'Ok' button dialog. * @@ -43,7 +41,7 @@ class OkDialog : public Window, public gcn::ActionListener { * @see Window::Window */ OkDialog(const std::string &title, const std::string &msg, - gcn::ActionListener *listener = NULL, Window *parent = NULL); + Window *parent = NULL); /** * Called when receiving actions from the widgets. -- cgit v1.2.3-70-g09d2