X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47d67540a017101b3e46abe9ef0f55914d8de37e..4f3ac409263ef169b015057f2718c6a98498f163:/include/wx/msw/ole/dropsrc.h diff --git a/include/wx/msw/ole/dropsrc.h b/include/wx/msw/ole/dropsrc.h index 4ed544cf38..6835e0a516 100644 --- a/include/wx/msw/ole/dropsrc.h +++ b/include/wx/msw/ole/dropsrc.h @@ -15,8 +15,8 @@ #ifdef __GNUG__ #pragma interface #endif - -#if !USE_DRAG_AND_DROP +#include "wx/window.h" +#if !wxUSE_DRAG_AND_DROP #error "You should #define wxUSE_DRAG_AND_DROP to 1 to compile this file!" #endif //WX_DRAG_DROP @@ -39,7 +39,7 @@ enum wxDragResult // wxDropSource is used to start the drag-&-drop operation on associated // wxDataObject object. It's responsible for giving UI feedback while dragging. // ---------------------------------------------------------------------------- -class wxDropSource +class WXDLLEXPORT wxDropSource { public: // ctors: if you use default ctor you must call SetData() later!