X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22f3361e1cf25c52a2da8fdfc5cb081809e18fb9..531030e2d2f2f7092786795a9d552ac3e9505ea1:/include/wx/msw/ole/dropsrc.h diff --git a/include/wx/msw/ole/dropsrc.h b/include/wx/msw/ole/dropsrc.h index 7090d31b1c..d92c31f7d8 100644 --- a/include/wx/msw/ole/dropsrc.h +++ b/include/wx/msw/ole/dropsrc.h @@ -12,13 +12,7 @@ #ifndef _WX_OLEDROPSRC_H #define _WX_OLEDROPSRC_H -#ifdef __GNUG__ - #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 +74,6 @@ private: DECLARE_NO_COPY_CLASS(wxDropSource) }; +#endif //wxUSE_DRAG_AND_DROP + #endif //_WX_OLEDROPSRC_H