From 1d53d4db1dab28efb2aa9c4bc8eee00a68e72766 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 27 Oct 2014 10:19:39 -0400 Subject: Removed the gouicontainer window class from the Windows backend; it is no longer needed. --- common_windows.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'common_windows.c') diff --git a/common_windows.c b/common_windows.c index d4db842..a8a2444 100644 --- a/common_windows.c +++ b/common_windows.c @@ -112,10 +112,9 @@ void paintControlBackground(HWND hwnd, HDC dc) return; if (GetClassNameW(parent, classname, 128) == 0) xpanic("error getting name of focused window class in paintControlBackground()", GetLastError()); - // skip container and groupboxes - if (_wcsicmp(classname, containerclass) != 0) // container - if (_wcsicmp(classname, L"button") != 0) // groupbox - break; + // skip groupboxes; they're (supposed to be) transparent + if (_wcsicmp(classname, L"button") != 0) + break; } if (GetWindowRect(hwnd, &r) == 0) xpanic("error getting control's window rect in paintControlBackground()", GetLastError()); -- cgit v1.2.3