diff options
| author | Ian C <ianc@noddybox.co.uk> | 2005-03-24 00:07:40 +0000 |
|---|---|---|
| committer | Ian C <ianc@noddybox.co.uk> | 2005-03-24 00:07:40 +0000 |
| commit | 5a11b5f4b59c46e919989a0fdd05d81ba5ac9347 (patch) | |
| tree | 83e20dd5e93ba6f3afedb76f3fefccbcfb045cc6 /src/button.cpp | |
| parent | 38ec2689af45b5ef29b5837bac0e4ef45bc75fd6 (diff) | |
Code updates
Diffstat (limited to 'src/button.cpp')
| -rw-r--r-- | src/button.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/button.cpp b/src/button.cpp index 047d9d6..c14840a 100644 --- a/src/button.cpp +++ b/src/button.cpp @@ -18,9 +18,6 @@ // // ------------------------------------------------------------------------- // -// $Log$ -// - #include "w32dlib/button.h" #include "w32dlib/dialog.h" @@ -44,9 +41,10 @@ Button::~Button() // ------------------------------------------------------------ // -void Button::OnPress(W32DLibCallback callback) +void Button::OnPress(W32DLibCallbackInterface *owner, + W32DLibCallback callback) { - Dialog::AddCallback(WM_COMMAND,callback); + Control::AddCallback(WM_COMMAND,owner,callback); } |
