]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dragimag.h
build fixes
[wxWidgets.git] / include / wx / msw / dragimag.h
index 362767c24aa612cd818980ead6eba9edd7f7d8c6..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"
@@ -168,7 +170,7 @@ public:
     }
 #endif
 
-    ~wxDragImage();
+    virtual ~wxDragImage();
 
     // Attributes
     ////////////////////////////////////////////////////////////////////////////
@@ -267,5 +269,6 @@ private:
     DECLARE_NO_COPY_CLASS(wxDragImage)
 };
 
+#endif // wxUSE_DRAGIMAGE
 #endif
     // _WX_DRAGIMAG_H_