Fix non-MSVS compilation of webview_ie.cpp.
Use wxCRT_StricmpW instead of the Visual C++ specific _wcsicmp. See #14382. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6b12639c49
commit
75964c3afa
1 changed files with 2 additions and 2 deletions
|
|
@ -960,13 +960,13 @@ bool wxWebViewIE::IsElementVisible(wxCOMPtr<IHTMLElement> elm)
|
|||
{
|
||||
//Check if the object has the style display:none.
|
||||
if((style->get_display(&tmp_bstr) != S_OK) ||
|
||||
(tmp_bstr != NULL && (_wcsicmp(tmp_bstr, L"none") == 0)))
|
||||
(tmp_bstr != NULL && (wxCRT_StricmpW(tmp_bstr, L"none") == 0)))
|
||||
{
|
||||
is_visible = false;
|
||||
}
|
||||
//Check if the object has the style visibility:hidden.
|
||||
if((is_visible && (style->get_visibility(&tmp_bstr) != S_OK)) ||
|
||||
(tmp_bstr != NULL && _wcsicmp(tmp_bstr, L"hidden") == 0))
|
||||
(tmp_bstr != NULL && wxCRT_StricmpW(tmp_bstr, L"hidden") == 0))
|
||||
{
|
||||
is_visible = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue