diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-29 21:31:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-29 21:31:02 +0300 |
commit | 9546d0e5d967adf60bdc0e6506c7b846ebeb4008 (patch) | |
tree | ee33d12a01b349b801a1582eb2f0b99584e1870d /src/mir_app | |
parent | 1f9fcfce83e81ff27d7c0ff80a5e85cdc89118c7 (diff) |
we don't need this code, everything works without it
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/button.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mir_app/src/button.cpp b/src/mir_app/src/button.cpp index a406d172c0..907cd73de3 100644 --- a/src/mir_app/src/button.cpp +++ b/src/mir_app/src/button.cpp @@ -422,16 +422,13 @@ static LRESULT CALLBACK MButtonWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR case BUTTONSETARROW: // turn arrow on/off
if (wParam) {
- if (!bct->arrow) {
+ if (!bct->arrow)
bct->arrow = Skin_LoadIcon(SKINICON_OTHER_DOWNARROW);
- SetHwndPropInt(bct, OBJID_CLIENT, CHILDID_SELF, PROPID_ACC_ROLE, ROLE_SYSTEM_BUTTONDROPDOWN);
- }
}
else {
if (bct->arrow) {
IcoLib_ReleaseIcon(bct->arrow);
bct->arrow = NULL;
- SetHwndPropInt(bct, OBJID_CLIENT, CHILDID_SELF, PROPID_ACC_ROLE, ROLE_SYSTEM_PUSHBUTTON);
}
}
InvalidateRect(bct->hwnd, NULL, TRUE);
|