]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/dnd.h
Missing #include
[wxWidgets.git] / include / wx / os2 / dnd.h
index e72f3e9e9e22e22364364bf2cd76c397227f6941..48976e760f9adbc4dceb844306edc835568edb20 100644 (file)
 #ifndef __OS2DNDH__
 #define __OS2DNDH__
 
-#ifdef __GNUG__
-#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
 
+#define INCL_WINSTDDRAG
+#include <os2.h>
+#ifndef __EMX__
+#include <pmstddlg.h>
+#endif
+
 //-------------------------------------------------------------------------
 // wxDropSource
 //-------------------------------------------------------------------------
@@ -38,7 +40,7 @@ public:
     virtual ~wxDropSource();
 
     /* start drag action */
-    virtual wxDragResult DoDragDrop(bool bAllowMove = FALSE);
+    virtual wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
 
 protected:
     void Init(void);