Fixed WM_PRINTCLIENT on uiContainers in windows/container.c. It works.

This commit is contained in:
Pietro Gagliardi 2015-05-06 12:39:06 -04:00
parent 047913d1a6
commit 8c3ca7fcce
1 changed files with 2 additions and 3 deletions

View File

@ -220,9 +220,8 @@ static LRESULT CALLBACK containerWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP
paintContainerBackground(c->hwnd, dc, &r);
EndPaint(c->hwnd, &ps);
return 0;
// TODO the tab control uses this to draw the tab background
// but we have no idea which tab so we don't know where the tab is, so...
// case WM_PRINTCLIENT:
// tab controls use this to draw the background of the tab area
case WM_PRINTCLIENT:
if (cc == NULL)
break;
c = (struct container *) (uiControl(cc)->Internal);