diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-02 21:23:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-02 21:23:26 +0300 |
commit | bb73924a397ebbdb6eb6c8b1cafa645bfa6ba71c (patch) | |
tree | 40b8d60c54716041ec6758e02e18689208f481c2 | |
parent | df07a56677531fe795a741c56567f67697d048b7 (diff) |
fixes #3136 (UInfoEx: баги после переписывания на классы)
-rw-r--r-- | plugins/UserInfoEx/src/psp_profile.cpp | 2 | ||||
-rw-r--r-- | src/mir_core/src/Windows/resizer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/psp_profile.cpp b/plugins/UserInfoEx/src/psp_profile.cpp index 1479d3a15a..2fe42aeab6 100644 --- a/plugins/UserInfoEx/src/psp_profile.cpp +++ b/plugins/UserInfoEx/src/psp_profile.cpp @@ -1363,7 +1363,7 @@ public: }
break;
}
- return FALSE;
+ return PSPBaseDlg::DlgProc(uMsg, wParam, lParam);
}
};
diff --git a/src/mir_core/src/Windows/resizer.cpp b/src/mir_core/src/Windows/resizer.cpp index 1f62d43bd4..3b5de46fcc 100644 --- a/src/mir_core/src/Windows/resizer.cpp +++ b/src/mir_core/src/Windows/resizer.cpp @@ -143,7 +143,7 @@ MIR_CORE_DLL(int) Utils_ResizeDialog(HWND hwndDlg, HINSTANCE hInstance, LPCSTR l } HWND hCtrl = GetDlgItem(hwndDlg, urc.wId); - if (hCtrl != nullptr) + if (hCtrl != nullptr && urc.wId != UINT(-1)) hDwp = DeferWindowPos(hDwp, hCtrl, nullptr, urc.rcItem.left, urc.rcItem.top, urc.rcItem.right - urc.rcItem.left, urc.rcItem.bottom - urc.rcItem.top, SWP_NOZORDER); } EndDeferWindowPos(hDwp); |