X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..f71b0c2d56b03b7823e661aacd05cf1a791e5c2f:/include/wx/msw/dragimag.h diff --git a/include/wx/msw/dragimag.h b/include/wx/msw/dragimag.h index d76a95a9b3..fbe7b402f1 100644 --- a/include/wx/msw/dragimag.h +++ b/include/wx/msw/dragimag.h @@ -13,6 +13,8 @@ #ifndef _WX_DRAGIMAG_H_ #define _WX_DRAGIMAG_H_ +#if wxUSE_DRAGIMAGE + #include "wx/bitmap.h" #include "wx/icon.h" #include "wx/cursor.h" @@ -97,7 +99,7 @@ * wxDragImage */ -class WXDLLEXPORT wxDragImage: public wxObject +class WXDLLIMPEXP_CORE wxDragImage: public wxObject { public: @@ -267,5 +269,6 @@ private: DECLARE_NO_COPY_CLASS(wxDragImage) }; +#endif // wxUSE_DRAGIMAGE #endif // _WX_DRAGIMAG_H_