]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dragimag.h
Compilation fix.
[wxWidgets.git] / include / wx / msw / dragimag.h
index d76a95a9b3f360bd17545717cf6af5c128cf019b..060900101e4a543084751b28454f6cd985627db8 100644 (file)
@@ -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"
@@ -267,5 +269,6 @@ private:
     DECLARE_NO_COPY_CLASS(wxDragImage)
 };
 
+#endif // wxUSE_DRAGIMAGE
 #endif
     // _WX_DRAGIMAG_H_