summaryrefslogtreecommitdiff
path: root/src/autocheck.cpp
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2005-03-24 00:07:40 +0000
committerIan C <ianc@noddybox.co.uk>2005-03-24 00:07:40 +0000
commit5a11b5f4b59c46e919989a0fdd05d81ba5ac9347 (patch)
tree83e20dd5e93ba6f3afedb76f3fefccbcfb045cc6 /src/autocheck.cpp
parent38ec2689af45b5ef29b5837bac0e4ef45bc75fd6 (diff)
Code updates
Diffstat (limited to 'src/autocheck.cpp')
-rw-r--r--src/autocheck.cpp7
1 files changed, 3 insertions, 4 deletions
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);
}