]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/webview_ie.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / msw / webview_ie.cpp
index 76c1c0a5feb35fa8aac6f8ad537147669a3ee6ba..168604a0306aa7cf38e2840024c1509c777fc924 100644 (file)
@@ -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;