long wxWebViewIE::Find(const wxString& text, int flags)
{
+#if !defined(__MINGW32__) && !defined(__VISUALC6__)
//If the text is empty then we clear.
if(text.IsEmpty())
{
//find the text and return count.
FindInternal(text, flags, wxWEB_VIEW_FIND_ADD_POINTERS);
return m_findPointers.empty() ? wxNOT_FOUND : m_findPointers.size();
+#else
+ return wxNOT_FOUND;
+#endif
}
void wxWebViewIE::SetEditable(bool enable)
bool wxWebViewIE::IsElementVisible(IHTMLElement* elm)
{
+#if !defined(__MINGW32__) && !defined(__VISUALC6__)
IHTMLCurrentStyle* style;
IHTMLElement *elm1 = elm;
IHTMLElement2 *elm2;
}
}
return is_visible;
+#else
+ return false;
+#endif
}
void wxWebViewIE::FindInternal(const wxString& text, int flags, int internal_flag)
{
+#if !defined(__MINGW32__) && !defined(__VISUALC6__)
IMarkupServices *pIMS;
IMarkupContainer *pIMC;
IMarkupPointer *ptrBegin, *ptrEnd;
pIMS->Release();
}
document->Release();
+#endif
}
long wxWebViewIE::FindNext(int direction)
{
+#if !defined(__MINGW32__) && !defined(__VISUALC6__)
//Don't bother if we have no pointers set.
if(m_findPointers.empty())
{
}
document->Release();
return ret;
+#else
+ return wxNOT_FOUND;
+#endif
}
void wxWebViewIE::FindClear()
{
+#if !defined(__MINGW32__) && !defined(__VISUALC6__)
//Reset find variables.
m_findText.Empty();
m_findFlags = wxWEB_VIEW_FIND_DEFAULT;
m_findPointers[i].end->Release();
}
m_findPointers.clear();
+#endif
}
bool wxWebViewIE::EnableControlFeature(long flag, bool enable)