Removed compilation warnings (mostly mismatches between the format string
for debug/trace printfs and the actual parameters, e.g. int vs long, etc) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -554,7 +554,7 @@ STDMETHODIMP wxIDataObject::QueryGetData(FORMATETC *pformatetc)
|
||||
// the only one allowed by current COM implementation
|
||||
if ( pformatetc->lindex != -1 ) {
|
||||
wxLogTrace(wxTRACE_OleCalls,
|
||||
wxT("wxIDataObject::QueryGetData: bad lindex %d"),
|
||||
wxT("wxIDataObject::QueryGetData: bad lindex %ld"),
|
||||
pformatetc->lindex);
|
||||
|
||||
return DV_E_LINDEX;
|
||||
@@ -563,7 +563,7 @@ STDMETHODIMP wxIDataObject::QueryGetData(FORMATETC *pformatetc)
|
||||
// we don't support anything other (THUMBNAIL, ICON, DOCPRINT...)
|
||||
if ( pformatetc->dwAspect != DVASPECT_CONTENT ) {
|
||||
wxLogTrace(wxTRACE_OleCalls,
|
||||
wxT("wxIDataObject::QueryGetData: bad dwAspect %d"),
|
||||
wxT("wxIDataObject::QueryGetData: bad dwAspect %ld"),
|
||||
pformatetc->dwAspect);
|
||||
|
||||
return DV_E_DVASPECT;
|
||||
|
Reference in New Issue
Block a user