diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-04 20:04:16 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-04 20:04:16 -0400 |
| commit | ef513c433732f3a12f2d83417b9b1fb92d152930 (patch) | |
| tree | 38fce59bea3461b2122a2ee32a5499eb94f7cd23 /redo/container_windows.c | |
| parent | 9ed4ec52597e03b080331efeac526322b669e565 (diff) | |
Completed the migration of the Windows backend to the new container system.
Diffstat (limited to 'redo/container_windows.c')
| -rw-r--r-- | redo/container_windows.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/redo/container_windows.c b/redo/container_windows.c index 5db4548..927e03b 100644 --- a/redo/container_windows.c +++ b/redo/container_windows.c @@ -54,11 +54,8 @@ DWORD makeContainerWindowClass(char **errmsg) wc.hInstance = hInstance; wc.hIcon = hDefaultIcon; wc.hCursor = hArrowCursor; - wc.hbrBackground = (HBRUSH) GetStockObject(HOLLOW_BRUSH); - if (wc.hbrBackground == NULL) { - *errmsg = "error getting hollow brush for container window class"; - return GetLastError(); - } + /* TODO won't this override our visual styles? */ + wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); wc.lpszClassName = containerclass; if (RegisterClassW(&wc) == 0) { *errmsg = "error registering container window class"; |
