X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/004fd0c8834ca526d335a9294322d9def17ef8a9..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/src/os2/dnd.cpp diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index c37a27db55..70d916d652 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -14,12 +14,15 @@ #endif #define INCL_PM +#define INCL_DOS #include #include "wx/window.h" #include "wx/app.h" #include "wx/gdicmn.h" #include "wx/dnd.h" +#if wxUSE_DRAG_AND_DROP + // ---------------------------------------------------------------------------- // global // ---------------------------------------------------------------------------- @@ -72,15 +75,6 @@ bool wxDropTarget::OnDrop( return FALSE; }; -bool wxDropTarget::OnData( - wxCoord x -, wxCoord y -) -{ - //TODO: - return FALSE; -}; - wxDragResult wxDropTarget::OnData( wxCoord x , wxCoord y @@ -105,42 +99,6 @@ bool wxDropTarget::IsAcceptable( return FALSE; }; -// ---------------------------------------------------------------------------- -// wxTextDropTarget -// ---------------------------------------------------------------------------- - -wxTextDropTarget::~wxTextDropTarget() -{ - // TODO: -} - -bool wxTextDropTarget::OnData( - wxCoord x -, wxCoord y -) -{ - // TODO: - return FALSE; -}; - -// ---------------------------------------------------------------------------- -// wxFileDropTarget -// ---------------------------------------------------------------------------- - -wxFileDropTarget::~wxFileDropTarget() -{ - // TODO: -} - -bool wxFileDropTarget::OnData( - wxCoord x -, wxCoord y -) -{ - // TODO: - return FALSE; -}; - //------------------------------------------------------------------------- // wxDropSource //------------------------------------------------------------------------- @@ -178,3 +136,4 @@ void wxDropSource::Init() // TODO }; +#endif //wxUSE_DRAG_AND_DROP