summaryrefslogtreecommitdiff
path: root/src/autocheck.cpp
diff options
context:
space:
mode:
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);
}