X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..16ca2e0fac252c2e900718122e058e7dad58c991:/include/wx/msw/ole/dropsrc.h?ds=inline diff --git a/include/wx/msw/ole/dropsrc.h b/include/wx/msw/ole/dropsrc.h index bdc972b732..2b383a3ab6 100644 --- a/include/wx/msw/ole/dropsrc.h +++ b/include/wx/msw/ole/dropsrc.h @@ -16,9 +16,7 @@ #pragma interface #endif -#if !wxUSE_DRAG_AND_DROP - #error "You should #define wxUSE_DRAG_AND_DROP to 1 to compile this file!" -#endif //WX_DRAG_DROP +#if wxUSE_DRAG_AND_DROP // ---------------------------------------------------------------------------- // forward declarations @@ -80,4 +78,6 @@ private: DECLARE_NO_COPY_CLASS(wxDropSource) }; +#endif //wxUSE_DRAG_AND_DROP + #endif //_WX_OLEDROPSRC_H