X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/16a12a3d27d3d3e2557bcde15365245ef2675bb4..0532a2588121690115f4629cdcbc41d2049e50c0:/include/wx/os2/dnd.h?ds=sidebyside diff --git a/include/wx/os2/dnd.h b/include/wx/os2/dnd.h index e72f3e9e9e..48976e760f 100644 --- a/include/wx/os2/dnd.h +++ b/include/wx/os2/dnd.h @@ -13,14 +13,16 @@ #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 +#ifndef __EMX__ +#include +#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);