diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2010-11-02 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:04 +0300 |
commit | c65230d8585317f7cd58ae2982067385269fdee9 (patch) | |
tree | 436513094ff5034da4c88def9609f0ea376065c6 /CPP/Windows/Control | |
parent | 2eb60a059819da595efb8e1de49f04c241f5b981 (diff) |
9.189.18
Diffstat (limited to 'CPP/Windows/Control')
-rwxr-xr-x | CPP/Windows/Control/Dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CPP/Windows/Control/Dialog.cpp b/CPP/Windows/Control/Dialog.cpp index dd0cf066..3cfa517a 100755 --- a/CPP/Windows/Control/Dialog.cpp +++ b/CPP/Windows/Control/Dialog.cpp @@ -103,7 +103,7 @@ bool IsDialogSizeOK(int xSize, int ySize) void CDialog::NormalizeSize(bool fullNormalize) { RECT workRect; - GetWorkAreaRect(&workRect); + GetWorkAreaRect(&workRect); int xSize = RECT_SIZE_X(workRect); int ySize = RECT_SIZE_Y(workRect); RECT rect; @@ -135,7 +135,7 @@ void CDialog::NormalizeSize(bool fullNormalize) void CDialog::NormalizePosition() { RECT workRect, rect; - GetWorkAreaRect(&workRect); + GetWorkAreaRect(&workRect); GetWindowRect(&rect); if (rect.bottom > workRect.bottom && rect.top > workRect.top) Move(rect.left, workRect.top, RECT_SIZE_X(rect), RECT_SIZE_Y(rect), true); |