]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dnd.cpp
1. some more tests in console
[wxWidgets.git] / src / os2 / dnd.cpp
index 6a54e5a39c55d5161fa5d51b3d367b668ae2b8c9..f8ed534d5dd4784b34dc5add63f8494a5d000044 100644 (file)
@@ -14,6 +14,7 @@
 #endif
 
 #define INCL_PM
+#define INCL_DOS
 #include <os2.h>
 #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
 //-------------------------------------------------------------------------