diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-27 10:19:39 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-27 10:19:39 -0400 |
| commit | 1d53d4db1dab28efb2aa9c4bc8eee00a68e72766 (patch) | |
| tree | 3b1f00496b04e2d424d7180f4d5f71155ef3bc41 /common_windows.c | |
| parent | 7c67741bb5c81038a41c8a4a1aff4d48a451f02a (diff) | |
Removed the gouicontainer window class from the Windows backend; it is no longer needed.
Diffstat (limited to 'common_windows.c')
| -rw-r--r-- | common_windows.c | 7 |
1 files changed, 3 insertions, 4 deletions
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()); |
