From: Vadim Zeitlin Date: Fri, 22 Oct 1999 13:07:05 +0000 (+0000) Subject: yet another BC++ fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/90bc25c7c932a6f7510bd6f7155efb958e73974d?ds=sidebyside yet another BC++ fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/ole/droptgt.cpp b/src/msw/ole/droptgt.cpp index 897e2279dd..260ccecc8c 100644 --- a/src/msw/ole/droptgt.cpp +++ b/src/msw/ole/droptgt.cpp @@ -417,7 +417,7 @@ wxDataFormat wxDropTarget::GetSupportedFormat(IDataObject *pIDataSource) const delete [] formats; } - return (n < nFormats) ? (wxDataFormat) format : (wxDataFormat) wxDF_INVALID; + return n < nFormats ? format : wxFormatInvalid; } // ----------------------------------------------------------------------------