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:
@@ -122,7 +122,7 @@ bool wxCheckListBox::Create(wxWindow *parent,
|
||||
bool wxCheckListBox::IsChecked(unsigned int item) const
|
||||
{
|
||||
wxCHECK_MSG( IsValid(item), false,
|
||||
_T("invalid index in wxCheckListBox::IsChecked") );
|
||||
wxT("invalid index in wxCheckListBox::IsChecked") );
|
||||
|
||||
return m_checks[item] != 0;
|
||||
}
|
||||
@@ -130,7 +130,7 @@ bool wxCheckListBox::IsChecked(unsigned int item) const
|
||||
void wxCheckListBox::Check(unsigned int item, bool check)
|
||||
{
|
||||
wxCHECK_RET( IsValid(item),
|
||||
_T("invalid index in wxCheckListBox::Check") );
|
||||
wxT("invalid index in wxCheckListBox::Check") );
|
||||
|
||||
// intermediate var is needed to avoid compiler warning with VC++
|
||||
bool isChecked = m_checks[item] != 0;
|
||||
|
||||
Reference in New Issue
Block a user