]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dnd.h
CanAcceptFocus() now returns true if either the window itself or one of its children...
[wxWidgets.git] / include / wx / x11 / dnd.h
index 1ce5305c840588697ae97be720aae0462750e9c8..1643f0d7e71d123063bc5091ff415d523126b7dd 100644 (file)
@@ -4,17 +4,12 @@
 // Author:      Julian Smart
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin, Robert Roebling, Julian Smart
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef _WX_DND_H_
 #define _WX_DND_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_DRAG_AND_DROP
@@ -46,7 +41,7 @@ class WXDLLEXPORT wxDropTarget: public wxObject
 public:
     
     wxDropTarget();
-    ~wxDropTarget();
+    virtual ~wxDropTarget();
     
     virtual void OnEnter() { }
     virtual void OnLeave() { }
@@ -148,7 +143,7 @@ public:
     wxDropSource( wxWindow *win );
     wxDropSource( wxDataObject &data, wxWindow *win );
     
-    ~wxDropSource(void);
+    virtual ~wxDropSource(void);
     
     void SetData( wxDataObject &data  );
     wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);