Remove unused variable
This commit is contained in:
parent
b49ee81df9
commit
8e31adc0af
1 changed files with 0 additions and 1 deletions
|
|
@ -512,7 +512,6 @@ bool WindowHelper::handleNativeEvent(
|
||||||
&& (wp.showCmd == SW_SHOWMAXIMIZED)) {
|
&& (wp.showCmd == SW_SHOWMAXIMIZED)) {
|
||||||
const auto r = &((LPNCCALCSIZE_PARAMS)lParam)->rgrc[0];
|
const auto r = &((LPNCCALCSIZE_PARAMS)lParam)->rgrc[0];
|
||||||
const auto dpi = _dpi.current();
|
const auto dpi = _dpi.current();
|
||||||
const auto style = GetWindowLongPtr(_handle, GWL_STYLE);
|
|
||||||
const auto borderWidth = (GetSystemMetricsForDpiSupported() && dpi)
|
const auto borderWidth = (GetSystemMetricsForDpiSupported() && dpi)
|
||||||
? GetSystemMetricsForDpi(SM_CXSIZEFRAME, dpi)
|
? GetSystemMetricsForDpi(SM_CXSIZEFRAME, dpi)
|
||||||
+ GetSystemMetricsForDpi(SM_CXPADDEDBORDER, dpi)
|
+ GetSystemMetricsForDpi(SM_CXPADDEDBORDER, dpi)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue