]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dnd.h
It was not acceptable to call the class method from the static initializer
[wxWidgets.git] / include / wx / dnd.h
index 9f623516474c8927986a1dfec2986a704672c8a9..46826d45a75b8d7cf76c41f742e51406502183eb 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     26.05.99
 // RCS-ID:      $Id$
 // Copyright:   (c) wxWindows Team
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DND_H_BASE_
@@ -119,6 +119,8 @@ protected:
     wxCursor m_cursorCopy,
              m_cursorMove,
              m_cursorStop;
+
+    DECLARE_NO_COPY_CLASS(wxDropSourceBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -192,6 +194,8 @@ public:
 
 protected:
     wxDataObject *m_dataObject;
+
+    DECLARE_NO_COPY_CLASS(wxDropTargetBase)
 };
 
 // ----------------------------------------------------------------------------
@@ -211,8 +215,6 @@ protected:
     #include "wx/mac/dnd.h"
 #elif defined(__WXPM__)
     #include "wx/os2/dnd.h"
-#elif defined(__WXSTUBS__)
-    #include "wx/stubs/dnd.h"
 #endif
 
 // ----------------------------------------------------------------------------