summaryrefslogtreecommitdiff
path: root/src/button.cpp
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-03-25 01:23:52 +0000
committerIan C <ianc@noddybox.co.uk>2005-03-25 01:23:52 +0000
commit72f0c86eb3ecdda4cab53213302fad645bc571f0 (patch)
treea78b285260bc369da116c1d98e4f5daa9f2441f9 /src/button.cpp
parent2d704117349864405f1c749b40bdd9d6f819ca03 (diff)
Cleaned up a bit by adding a base Window class.
Diffstat (limited to 'src/button.cpp')
-rw-r--r--src/button.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/button.cpp b/src/button.cpp
index c14840a..f08f474 100644
--- a/src/button.cpp
+++ b/src/button.cpp
@@ -18,6 +18,7 @@
//
// -------------------------------------------------------------------------
//
+#include "w32dlib/window.h"
#include "w32dlib/button.h"
#include "w32dlib/dialog.h"
@@ -41,8 +42,7 @@ Button::~Button()
// ------------------------------------------------------------
//
-void Button::OnPress(W32DLibCallbackInterface *owner,
- W32DLibCallback callback)
+void Button::OnPress(Window *owner, W32DLibCallback callback)
{
Control::AddCallback(WM_COMMAND,owner,callback);
}