Globally replace _T() with wxT().
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -129,7 +129,7 @@ int wxChoice::DoInsertItems(const wxArrayStringsAdapter & items,
|
||||
wxCHECK_MSG( m_widget != NULL, -1, wxT("invalid control") );
|
||||
|
||||
wxASSERT_MSG( !IsSorted() || (pos == GetCount()),
|
||||
_T("In a sorted choice data could only be appended"));
|
||||
wxT("In a sorted choice data could only be appended"));
|
||||
|
||||
const int count = items.GetCount();
|
||||
|
||||
@@ -187,7 +187,7 @@ void wxChoice::DoClear()
|
||||
void wxChoice::DoDeleteOneItem(unsigned int n)
|
||||
{
|
||||
wxCHECK_RET( m_widget != NULL, wxT("invalid control") );
|
||||
wxCHECK_RET( IsValid(n), _T("invalid index in wxChoice::Delete") );
|
||||
wxCHECK_RET( IsValid(n), wxT("invalid index in wxChoice::Delete") );
|
||||
|
||||
GtkComboBox* combobox = GTK_COMBO_BOX( m_widget );
|
||||
GtkTreeModel* model = gtk_combo_box_get_model( combobox );
|
||||
|
Reference in New Issue
Block a user