X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e6ebb51430cd8e4a9a11c6c5a5ca7c3ff9d7a72a..6ba636000f13b4bf7d3e7dcfad429713085f6700:/src/os2/dnd.cpp diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index 6a54e5a39c..f8ed534d5d 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -14,6 +14,7 @@ #endif #define INCL_PM +#define INCL_DOS #include #include "wx/window.h" #include "wx/app.h" @@ -72,13 +73,14 @@ bool wxDropTarget::OnDrop( return FALSE; }; -bool wxDropTarget::OnData( +wxDragResult wxDropTarget::OnData( wxCoord x , wxCoord y +, wxDragResult vResult ) { //TODO: - return FALSE; + return (wxDragResult)0; }; bool wxDropTarget::GetData() @@ -95,52 +97,6 @@ bool wxDropTarget::IsAcceptable( return FALSE; }; -// ---------------------------------------------------------------------------- -// wxTextDropTarget -// ---------------------------------------------------------------------------- - -wxTextDropTarget::wxTextDropTarget() -{ - // TODO: -} - -wxTextDropTarget::~wxTextDropTarget() -{ - // TODO: -} - -bool wxTextDropTarget::OnData( - wxCoord x -, wxCoord y -) -{ - // TODO: - return FALSE; -}; - -// ---------------------------------------------------------------------------- -// wxFileDropTarget -// ---------------------------------------------------------------------------- - -wxFileDropTarget::wxFileDropTarget() -{ - // TODO: -} - -wxFileDropTarget::~wxFileDropTarget() -{ - // TODO: -} - -bool wxFileDropTarget::OnData( - wxCoord x -, wxCoord y -) -{ - // TODO: - return FALSE; -}; - //------------------------------------------------------------------------- // wxDropSource //-------------------------------------------------------------------------