Adjust testing for non-visible controls in wxActiveXContainer.
Fixes #13659 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
97aa7b9955
commit
1ce077e25b
@ -1178,7 +1178,7 @@ void wxActiveXContainer::OnSize(wxSizeEvent& event)
|
||||
posRect.right = w;
|
||||
posRect.bottom = h;
|
||||
|
||||
if (w <= 0 && h <= 0)
|
||||
if (w <= 0 || h <= 0)
|
||||
return;
|
||||
|
||||
// extents are in HIMETRIC units
|
||||
|
Loading…
Reference in New Issue
Block a user