diff options
Diffstat (limited to 'src/button.cpp')
-rw-r--r-- | src/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/button.cpp b/src/button.cpp index f08f474..66b4018 100644 --- a/src/button.cpp +++ b/src/button.cpp @@ -44,7 +44,7 @@ Button::~Button() // void Button::OnPress(Window *owner, W32DLibCallback callback) { - Control::AddCallback(WM_COMMAND,owner,callback); + Control::AddCallback(WM_COMMAND,0,owner,callback); } |