]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dnd.cpp
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git] / src / os2 / dnd.cpp
index 452c5a2abcd1bb5a640bc6e823e8b5f7ac0a0475..70d916d6528af2565d4fcb688aec4e35a6d76a2a 100644 (file)
 #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