wordpad: Remove RB_SIZETORECT call.
This commit is contained in:
parent
93dc2338b2
commit
b3162df54a
|
@ -3110,11 +3110,6 @@ static LRESULT OnSize( HWND hWnd, WPARAM wParam, LPARAM lParam )
|
|||
rebarRows--;
|
||||
|
||||
rebarHeight = rebarRows ? SendMessageW(hwndReBar, RB_GETBARHEIGHT, 0, 0) : 0;
|
||||
|
||||
rc.top = rc.left = 0;
|
||||
rc.bottom = rebarHeight;
|
||||
rc.right = LOWORD(lParam);
|
||||
SendMessageW(hwndReBar, RB_SIZETORECT, 0, (LPARAM)&rc);
|
||||
}
|
||||
if (hwndEditor)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue