info.m_itemId = event.m_itemIndex;
info.m_col = 0;
info.m_mask = wxLIST_MASK_DATA;
- wxString sendtext(_T(""));
+ wxString sendtext(_T(""));
if ( GetItem(info) )
{
// TO DO : STORE SMART PTR ?
sendtext += crea::std2wx("box:");
sendtext += crea::std2wx(d->GetFullTypeName());
sendtext += _T("<EndEED>");
- printf("EED WxGUIBlackBoxList::OnBeginDrag <%s>%d <%s>%d\n",
- (const char*)sendtext.mb_str(),sendtext.Len() , d->GetFullTypeName().c_str() , d->GetFullTypeName().length() );
+// printf("EED WxGUIBlackBoxList::OnBeginDrag <%s>%d <%s>%d\n", (const char*)sendtext.mb_str(),sendtext.Len() , d->GetFullTypeName().c_str() , d->GetFullTypeName().length() );
}
- } else {
+
+ } else {
wxFAIL_MSG(wxT("wxListCtrl::GetItem() failed"));
}
wxTextDataObject tdo(sendtext);
- printf("EED WxGUIBlackBoxList::OnBeginDrag <%s>\n",(const char*) tdo.GetText().mb_str() );
+// printf("EED WxGUIBlackBoxList::OnBeginDrag <%s>\n",(const char*) tdo.GetText().mb_str() );
wxDropSource tds(tdo, this);
tds.DoDragDrop( );