Fix crash on wxMediaCtrl creation in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Sep 2012 10:26:18 +0000 (10:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 Sep 2012 10:26:18 +0000 (10:26 +0000)
commit6e34a9e443ee70a8e243198e86d85f110a8a53cc
treee71a110915023b72f0c162e29f1840da194d31bb
parent7cc3d0e00416303dc9c8696382a5eb571dd37ba0
Fix crash on wxMediaCtrl creation in wxMSW.

A valid RECT pointer must be passed to DoVerb(OLEIVERB_INPLACEACTIVATE) but
r72027 (see #14209) broke this and passed it NULL resulting in an instant
crash.

Revert this part of the change and do pass out window client area.

Closes #14682.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/ole/activex.cpp