X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16a12a3d27d3d3e2557bcde15365245ef2675bb4..721a4a08bce5245dd748a9f4c64c5d25a02e8155:/src/os2/dnd.cpp

diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp
index 452c5a2abc..70d916d652 100644
--- a/src/os2/dnd.cpp
+++ b/src/os2/dnd.cpp
@@ -14,12 +14,15 @@
 #endif
 
 #define INCL_PM
+#define INCL_DOS
 #include <os2.h>
 #include "wx/window.h"
 #include "wx/app.h"
 #include "wx/gdicmn.h"
 #include "wx/dnd.h"
 
+#if wxUSE_DRAG_AND_DROP
+
 // ----------------------------------------------------------------------------
 // global
 // ----------------------------------------------------------------------------
@@ -133,3 +136,4 @@ void wxDropSource::Init()
     // TODO
 };
 
+#endif //wxUSE_DRAG_AND_DROP