summaryrefslogtreecommitdiff
path: root/basicctrls_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'basicctrls_windows.c')
-rw-r--r--basicctrls_windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/basicctrls_windows.c b/basicctrls_windows.c
index 1041b32..b75633e 100644
--- a/basicctrls_windows.c
+++ b/basicctrls_windows.c
@@ -136,7 +136,7 @@ static LRESULT CALLBACK groupSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
if (sharedWndProc(hwnd, uMsg, wParam, lParam, &lResult))
return lResult;
switch (uMsg) {
- case WM_WINDOWPOSCHANGING:
+ // don't do this on WM_WINDOWPOSCHANGING; weird redraw issues will happen
case WM_WINDOWPOSCHANGED:
// don't use the WINDOWPOS rect here; the coordinates of the controls have to be in real client coordinates
if (GetClientRect(hwnd, &r) == 0)