bug in resize on Windows

This commit is contained in:
Adam D. Ruppe 2017-03-11 12:07:26 -05:00
parent 5ec9f15d94
commit 513fb82dda
1 changed files with 1 additions and 1 deletions

View File

@ -4203,7 +4203,7 @@ version(Windows) {
GetClientRect(hwnd, &client);
rect.right = rect.right - client.right + w;
rect.bottom = rect.bottom - client.bottom + w;
rect.bottom = rect.bottom - client.bottom + h;
// same position, new size for the client rectangle
MoveWindow(hwnd, rect.left, rect.top, rect.right, rect.bottom, true);