]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/dataobj.cpp
modification to wxSizer handler needed for wxWizard
[wxWidgets.git] / src / msw / ole / dataobj.cpp
index 0a594fd69ff048fabd2e0854fd49d3596e28cd17..45d796c51cdb858f31c9990a1d01cde3267f5730 100644 (file)
@@ -439,7 +439,7 @@ STDMETHODIMP wxIDataObject::SetData(FORMATETC *pformatetc,
                 // as we can't fix this bug in explorer (it's a bug because it
                 // should only use formats returned by EnumFormatEtc), do the
                 // check here
-                if ( !m_pDataObject->IsSupportedFormat(format) ) {
+                if ( !m_pDataObject->IsSupported(format, wxDataObject::Set) ) {
                     // go away!
                     return DV_E_FORMATETC;
                 }