summaryrefslogtreecommitdiff
path: root/src/button.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/button.cpp')
-rw-r--r--src/button.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}