From 72f0c86eb3ecdda4cab53213302fad645bc571f0 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 25 Mar 2005 01:23:52 +0000 Subject: Cleaned up a bit by adding a base Window class. --- src/button.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/button.cpp') 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); } -- cgit v1.2.3