X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de7b7fe6f65766e9f15a996c7ee8105a7eaa78eb..ee45c548e61fa0ce1f8adbcf29d7678769f2c0ed:/wxPython/contrib/iewin/wxactivex.cpp?ds=inline diff --git a/wxPython/contrib/iewin/wxactivex.cpp b/wxPython/contrib/iewin/wxactivex.cpp index 5196a9f6f6..ca8f66394a 100644 --- a/wxPython/contrib/iewin/wxactivex.cpp +++ b/wxPython/contrib/iewin/wxactivex.cpp @@ -566,7 +566,7 @@ public: { // cdecl call // sometimes the pDispParams does not match the param info for a activex control - int nArg = min(func.params.size(), pDispParams->cArgs); + int nArg = wxMin(func.params.size(), pDispParams->cArgs); for (int i = nArg - 1; i >= 0; i--) { VARIANTARG& va = pDispParams->rgvarg[i]; @@ -581,7 +581,7 @@ public: if (func.hasOut) { - int nArg = min(func.params.size(), pDispParams->cArgs); + int nArg = wxMin(func.params.size(), pDispParams->cArgs); m_activeX->GetParent()->ProcessEvent(event); for (int i = 0; i < nArg; i++) { @@ -1082,7 +1082,7 @@ void wxActiveX::OnMouse(wxMouseEvent& event) // wxLogTrace(wxT("msg sent")); } -long wxActiveX::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) +WXLRESULT wxActiveX::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) { if (m_oleObjectHWND == NULL) return wxWindow::MSWWindowProc(nMsg, wParam, lParam);