Add WS_CLIPCHILDREN to fix a painting problem. b=177637 r=jeff@tcbmi.com sr=blizzard@mozilla.org a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@132904 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -285,6 +285,7 @@ BOOL CBrowserView::PreCreateWindow(CREATESTRUCT& cs)
|
||||
|
||||
cs.dwExStyle |= WS_EX_CLIENTEDGE;
|
||||
cs.style &= ~WS_BORDER;
|
||||
cs.style |= WS_CLIPCHILDREN;
|
||||
cs.lpszClass = AfxRegisterWndClass(CS_DBLCLKS,
|
||||
::LoadCursor(NULL, IDC_ARROW), HBRUSH(COLOR_WINDOW+1), NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user