]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIPackageBrowser2.h
PackageBrowser dragAndDrop action
[bbtk.git] / kernel / src / bbtkWxGUIPackageBrowser2.h
index edf43412bfcd65762cfdee7793c856dd177b8533..42bbe978b0977d591fb51be827af8e15031c4284 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIPackageBrowser2.h,v $
   Language:  C++
-  Date:      $Date: 2008/10/17 08:18:15 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2010/03/25 15:24:50 $
+  Version:   $Revision: 1.7 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -57,6 +57,9 @@
 #include "bbtkInterpreter.h"
 #include <wx/aui/aui.h>
 
+//Drag and drop
+#include <wx/dnd.h>
+#include <wx/dataobj.h>
 #include "wx/listctrl.h"
 // not all ports have support for EVT_CONTEXT_MENU yet, don't define
 // USE_CONTEXT_MENU for those which don't
@@ -207,6 +210,9 @@ private:
  
     // User callback when a box is selected in the list 
     void WxGUIBlackBoxListUserOnSelected( BlackBoxDescriptor* );
+       
+       //RaC   
+       BlackBoxDescriptor* GetActualSelected();
 
   private:
     wxAuiManager m_mgr;
@@ -229,6 +235,9 @@ private:
     wxCheckBox* mShowAdaptorsFilter;
     wxCheckBox* mShowGUIsFilter;
 
+       //RaC
+       BlackBoxDescriptor *_actualSelected;
+
    DECLARE_EVENT_TABLE()  
   };
   //================================================================