X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/236cff7334bfd8020adc3fba134641fc7b189622..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/msw/webview_ie.cpp diff --git a/src/msw/webview_ie.cpp b/src/msw/webview_ie.cpp index 76c1c0a5fe..168604a030 100644 --- a/src/msw/webview_ie.cpp +++ b/src/msw/webview_ie.cpp @@ -962,7 +962,7 @@ bool wxWebViewIE::IsElementVisible(IHTMLElement* elm) is_visible = false; } //Check if the object has the style visibility:hidden. - if(is_visible && (style->get_visibility(&tmp_bstr) != S_OK) || + if((is_visible && (style->get_visibility(&tmp_bstr) != S_OK)) || (tmp_bstr != NULL && _wcsicmp(tmp_bstr, L"hidden") == 0)) { is_visible = false;