Changed back inline/const things
wxTabCtrl must have WS_CHILD window style small access.cpp tweaks (call QueryInterface) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -594,8 +594,11 @@ STDMETHODIMP wxIAccessible::get_accChild ( VARIANT varChildID, IDispatch** ppDis
|
||||
wxIAccessible* objectIA = child->GetIAccessible();
|
||||
if (!objectIA)
|
||||
return E_FAIL;
|
||||
*ppDispChild = objectIA;
|
||||
objectIA->AddRef();
|
||||
|
||||
if (objectIA->QueryInterface(IID_IDispatch, (LPVOID*) ppDispChild) != S_OK)
|
||||
return E_FAIL;
|
||||
|
||||
(*ppDispChild)->AddRef();
|
||||
return S_OK;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user