]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dragimag.h
Further performance optimizations
[wxWidgets.git] / include / wx / msw / dragimag.h
index 5286ab847bc0a3445360a28a145db7ebaee1211b..fbe7b402f13b496dea67cc7abc45f1476e91cc2c 100644 (file)
@@ -13,9 +13,7 @@
 #ifndef _WX_DRAGIMAG_H_
 #define _WX_DRAGIMAG_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "dragimag.h"
-#endif
+#if wxUSE_DRAGIMAGE
 
 #include "wx/bitmap.h"
 #include "wx/icon.h"
  * wxDragImage
  */
 
-class WXDLLEXPORT wxDragImage: public wxObject
+class WXDLLIMPEXP_CORE wxDragImage: public wxObject
 {
 public:
 
@@ -172,7 +170,7 @@ public:
     }
 #endif
 
-    ~wxDragImage();
+    virtual ~wxDragImage();
 
     // Attributes
     ////////////////////////////////////////////////////////////////////////////
@@ -271,5 +269,6 @@ private:
     DECLARE_NO_COPY_CLASS(wxDragImage)
 };
 
+#endif // wxUSE_DRAGIMAGE
 #endif
     // _WX_DRAGIMAG_H_