浏览代码

COLOR_BACKGROUND, not +1

David Rose 21 年之前
父节点
当前提交
b76c6177d1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pandatool/src/win-stats/winStatsLabelStack.cxx

+ 1 - 1
pandatool/src/win-stats/winStatsLabelStack.cxx

@@ -357,7 +357,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
       HDC hdc = BeginPaint(hwnd, &ps);
 
       RECT rect = { 0, 0, _width, _height };
-      FillRect(hdc, &rect, (HBRUSH)(COLOR_BTNFACE + 1));
+      FillRect(hdc, &rect, (HBRUSH)COLOR_BACKGROUND);
       EndPaint(hwnd, &ps);
       return 0;
     }