]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dnd.h
added wxUSE_INICONF (disabled by default)
[wxWidgets.git] / include / wx / x11 / dnd.h
index b3944af30cbfd51f5d627465c333fdaf0a3b80cc..dc0f7da7a18d7e32266f941a506269fab4244580 100644 (file)
@@ -7,14 +7,9 @@
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-
 #ifndef _WX_DND_H_
 #define _WX_DND_H_
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_DRAG_AND_DROP
 // classes
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindow;
+class WXDLLIMPEXP_FWD_CORE wxWindow;
 
-class WXDLLEXPORT wxDropTarget;
-class WXDLLEXPORT wxTextDropTarget;
-class WXDLLEXPORT wxFileDropTarget;
-class WXDLLEXPORT wxPrivateDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxTextDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxFileDropTarget;
+class WXDLLIMPEXP_FWD_CORE wxPrivateDropTarget;
 
-class WXDLLEXPORT wxDropSource;
+class WXDLLIMPEXP_FWD_CORE wxDropSource;
 
 //-------------------------------------------------------------------------
 // wxDropTarget
@@ -46,7 +41,7 @@ class WXDLLEXPORT wxDropTarget: public wxObject
 public:
     
     wxDropTarget();
-    ~wxDropTarget();
+    virtual ~wxDropTarget();
     
     virtual void OnEnter() { }
     virtual void OnLeave() { }
@@ -148,10 +143,10 @@ public:
     wxDropSource( wxWindow *win );
     wxDropSource( wxDataObject &data, wxWindow *win );
     
-    ~wxDropSource(void);
+    virtual ~wxDropSource(void);
     
     void SetData( wxDataObject &data  );
-    wxDragResult DoDragDrop( bool bAllowMove = FALSE );
+    wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
     
     virtual bool GiveFeedback( wxDragResult WXUNUSED(effect), bool WXUNUSED(bScrolling) ) { return TRUE; };