From f100e08be509bf719146f96c717567f858022648 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Tue, 20 Sep 2022 16:03:14 +0200 Subject: [PATCH] Clean Code --- kernel/src/bbtkWxGUIPackageBrowser2.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/src/bbtkWxGUIPackageBrowser2.cxx b/kernel/src/bbtkWxGUIPackageBrowser2.cxx index e87ffcb..67b4685 100644 --- a/kernel/src/bbtkWxGUIPackageBrowser2.cxx +++ b/kernel/src/bbtkWxGUIPackageBrowser2.cxx @@ -261,7 +261,7 @@ int wxCALLBACK MyCompareFunction(long item1, long item2, long WXUNUSED(sortData) 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 ? @@ -272,15 +272,15 @@ int wxCALLBACK MyCompareFunction(long item1, long item2, long WXUNUSED(sortData) sendtext += crea::std2wx("box:"); sendtext += crea::std2wx(d->GetFullTypeName()); sendtext += _T(""); - 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( ); -- 2.47.1