]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/activex/wxie/IEHtmlWin.cpp
don't draw focus rect for custom drawn items when the list control doesn't have focus
[wxWidgets.git] / wxPython / contrib / activex / wxie / IEHtmlWin.cpp
index b157fb99286730d4422a78d81da4a1fbfa8c350e..955be061005376eb918839600e81974546e14674 100644 (file)
@@ -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)