summaryrefslogtreecommitdiff
path: root/redo/container_windows.c
diff options
context:
space:
mode:
Diffstat (limited to 'redo/container_windows.c')
-rw-r--r--redo/container_windows.c7
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";