]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dragimag.h
add an assert indicating that old code overriding OnExecute() must be updated with 2.9
[wxWidgets.git] / include / wx / msw / dragimag.h
index 362767c24aa612cd818980ead6eba9edd7f7d8c6..fbe7b402f13b496dea67cc7abc45f1476e91cc2c 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"
@@ -97,7 +99,7 @@
  * wxDragImage
  */
 
-class WXDLLEXPORT wxDragImage: public wxObject
+class WXDLLIMPEXP_CORE wxDragImage: public wxObject
 {
 public:
 
@@ -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_