]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/dropsrc.h
added GenerateNow()
[wxWidgets.git] / include / wx / msw / ole / dropsrc.h
index 70f3e9a65a35e768e908dfeccedc38efe5a83279..2b383a3ab6c51da1f342cbc07920ed7aaec0db20 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     06.03.98
 // RCS-ID:      $Id$
 // Copyright:   (c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
 #ifndef   _WX_OLEDROPSRC_H
@@ -16,9 +16,7 @@
     #pragma interface
 #endif
 
-#if !wxUSE_DRAG_AND_DROP
-  #error  "You should #define wxUSE_DRAG_AND_DROP to 1 to compile this file!"
-#endif  //WX_DRAG_DROP
+#if wxUSE_DRAG_AND_DROP
 
 // ----------------------------------------------------------------------------
 // forward declarations
@@ -80,4 +78,6 @@ private:
     DECLARE_NO_COPY_CLASS(wxDropSource)
 };
 
+#endif  //wxUSE_DRAG_AND_DROP
+
 #endif  //_WX_OLEDROPSRC_H