- _T("Root/last item is %svisible/%svisible"),
- m_treeCtrl->IsVisible(idRoot) ? _T("") : _T("not "),
+ wxT("Root/last item is %svisible/%svisible"),
+ m_treeCtrl->IsVisible(idRoot) ? wxT("") : wxT("not "),
wxRect r;
if ( !m_treeCtrl->GetBoundingRect(id, r, true /* text, not full row */) )
{
wxRect r;
if ( !m_treeCtrl->GetBoundingRect(id, r, true /* text, not full row */) )
{
wxLogMessage("The %s item is \"%s\"",
label, m_treeCtrl->GetItemText(item));
wxLogMessage("The %s item is \"%s\"",
label, m_treeCtrl->GetItemText(item));
wxLogMessage("The %s item is \"%s\"",
label, m_treeCtrl->GetItemText(new_item));
wxLogMessage("The %s item is \"%s\"",
label, m_treeCtrl->GetItemText(new_item));
else if ( itemId == GetRootItem() )
{
// test that it is possible to change the text of the item being edited
else if ( itemId == GetRootItem() )
{
// test that it is possible to change the text of the item being edited
wxPoint screenpt = ClientToScreen(clientpt);
wxLogMessage(wxT("OnItemMenu for item \"%s\" at screen coords (%i, %i)"),
wxPoint screenpt = ClientToScreen(clientpt);
wxLogMessage(wxT("OnItemMenu for item \"%s\" at screen coords (%i, %i)"),