X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22f3361e1cf25c52a2da8fdfc5cb081809e18fb9..da52a4e023e73c2922f63d95026816a624695559:/include/wx/msw/ole/droptgt.h?ds=sidebyside diff --git a/include/wx/msw/ole/droptgt.h b/include/wx/msw/ole/droptgt.h index 2d3c84c5bd..ef59b101bc 100644 --- a/include/wx/msw/ole/droptgt.h +++ b/include/wx/msw/ole/droptgt.h @@ -12,13 +12,7 @@ #ifndef _WX_OLEDROPTGT_H #define _WX_OLEDROPTGT_H -#ifdef __GNUG__ -#pragma interface "droptgt.h" -#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 @@ -73,4 +67,6 @@ private: DECLARE_NO_COPY_CLASS(wxDropTarget) }; +#endif //wxUSE_DRAG_AND_DROP + #endif //_WX_OLEDROPTGT_H