X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6dddc146fbea484558c02c18ea8250549329c70e..e5f741e5d467b1ce7105be96e9f3dcb553e8b89d:/src/os2/dnd.cpp diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index 5674c3659c..f8ed534d5d 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -13,10 +13,13 @@ #pragma implementation "dnd.h" #endif -#include "wx/dnd.h" +#define INCL_PM +#define INCL_DOS +#include #include "wx/window.h" #include "wx/app.h" #include "wx/gdicmn.h" +#include "wx/dnd.h" // ---------------------------------------------------------------------------- // global @@ -70,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() @@ -93,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 //-------------------------------------------------------------------------