]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/dropsrc.h
Reworked the undef stuff a little
[wxWidgets.git] / include / wx / msw / ole / dropsrc.h
index 4ed544cf38e4c7426a581d03f75453a4c24d469c..bafcddee6768ce271f71cbcf2f7b41e7b464a3d6 100644 (file)
@@ -16,7 +16,7 @@
 #pragma interface
 #endif
 
-#if !USE_DRAG_AND_DROP
+#if !wxUSE_DRAG_AND_DROP
   #error  "You should #define wxUSE_DRAG_AND_DROP to 1 to compile this file!"
 #endif  //WX_DRAG_DROP
 
@@ -39,7 +39,7 @@ enum wxDragResult
 // wxDropSource is used to start the drag-&-drop operation on associated
 // wxDataObject object. It's responsible for giving UI feedback while dragging.
 // ----------------------------------------------------------------------------
-class wxDropSource
+class WXDLLEXPORT wxDropSource
 {
 public:
   // ctors: if you use default ctor you must call SetData() later!