X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dabb2a2c6ae27df135da4752b00579346bb74fc..728f972bcef8d6b01f5f67cb77060d23098d8877:/wxPython/contrib/activex/wxie/IEHtmlWin.cpp diff --git a/wxPython/contrib/activex/wxie/IEHtmlWin.cpp b/wxPython/contrib/activex/wxie/IEHtmlWin.cpp index b157fb9928..955be06100 100644 --- a/wxPython/contrib/activex/wxie/IEHtmlWin.cpp +++ b/wxPython/contrib/activex/wxie/IEHtmlWin.cpp @@ -77,7 +77,7 @@ HRESULT STDMETHODCALLTYPE IStreamAdaptorBase::Read(void __RPC_FAR *pv, ULONG cb, { if (prepend.size() > 0) { - int n = min(prepend.size(), cb); + int n = wxMin(prepend.size(), cb); prepend.copy((char *) pv, n); prepend = prepend.substr(n); if (pcbRead)