int i = m_treeCtrl->GetChildrenCount( item, FALSE );
- wxLogMessage(T("%d children"), i);
+ wxLogMessage(wxT("%d children"), i);
}
void MyFrame::OnCountRec(wxCommandEvent& WXUNUSED(event))
int i = m_treeCtrl->GetChildrenCount( item );
- wxLogMessage(T("%d children"), i);
+ wxLogMessage(wxT("%d children"), i);
}
void MyFrame::DoSort(bool reverse)
wxArrayTreeItemIds array;
size_t count = m_treeCtrl->GetSelections(array);
- wxLogMessage(T("%u items selected"), count);
+ wxLogMessage(wxT("%u items selected"), count);
for ( size_t n = 0; n < count; n++ )
{
cursor = *wxSTANDARD_CURSOR;
window = m_widget->window;
- if (window)
+ if ((window) && !(GTK_WIDGET_NO_WINDOW(m_widget)))
gdk_window_set_cursor( window, cursor.GetCursor() );
}
}
cursor = *wxSTANDARD_CURSOR;
window = m_widget->window;
- if (window)
+ if ((window) && !(GTK_WIDGET_NO_WINDOW(m_widget)))
gdk_window_set_cursor( window, cursor.GetCursor() );
}
}