diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 00:26:43 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-02-28 00:26:43 +0000 |
commit | 4410284da77786594d7009b6c515176de0d5a51e (patch) | |
tree | 949362dafe500e6ef07006ade5a9920d72d2c55e /src/modules/button | |
parent | 2095a324e774565a588425ed4a4986063e3c08fa (diff) |
Core:
-Some major and minor issues fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/button')
-rw-r--r-- | src/modules/button/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/button/button.cpp b/src/modules/button/button.cpp index 2a3aa8a934..0df5c21806 100644 --- a/src/modules/button/button.cpp +++ b/src/modules/button/button.cpp @@ -564,7 +564,7 @@ static LRESULT CALLBACK MButtonWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR if (bct->stateId != PBS_DISABLED) { // don't change states if disabled
if (bct->stateId == PBS_PRESSED)
showClick = 1;
- bct->stateId = (msg == WM_LBUTTONUP) ? PBS_HOT : PBS_NORMAL;
+ bct->stateId = PBS_HOT;
InvalidateRect(bct->hwnd, NULL, TRUE);
}
if (showClick && !bct->bSendOnDown) // Tell your daddy you got clicked.
|