]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/dragimag.h
removed SetVirtualSizeHints() and related code
[wxWidgets.git] / include / wx / msw / dragimag.h
index 5286ab847bc0a3445360a28a145db7ebaee1211b..060900101e4a543084751b28454f6cd985627db8 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"
@@ -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_