From 5a11b5f4b59c46e919989a0fdd05d81ba5ac9347 Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 24 Mar 2005 00:07:40 +0000 Subject: Code updates --- src/autocheck.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/autocheck.cpp') diff --git a/src/autocheck.cpp b/src/autocheck.cpp index dfa1bf5..203fe0d 100644 --- a/src/autocheck.cpp +++ b/src/autocheck.cpp @@ -18,8 +18,6 @@ // // ------------------------------------------------------------------------- // -// $Log$ -// #include "w32dlib/autocheck.h" #include "w32dlib/dialog.h" @@ -44,9 +42,10 @@ AutoCheck::~AutoCheck() // ------------------------------------------------------------ // -void AutoCheck::OnPress(W32DLibCallback callback) +void AutoCheck::OnPress(W32DLibCallbackInterface *owner, + W32DLibCallback callback) { - m_parent->AddCallback(WM_COMMAND,callback); + Control::AddCallback(WM_COMMAND,owner,callback); } -- cgit v1.2.3