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:
@@ -144,7 +144,7 @@ bool wxVarScrollHelperEvtHandler::ProcessEvent(wxEvent& event)
|
||||
|
||||
wxVarScrollHelperBase::wxVarScrollHelperBase(wxWindow *win)
|
||||
{
|
||||
wxASSERT_MSG( win, _T("associated window can't be NULL in wxVarScrollHelperBase") );
|
||||
wxASSERT_MSG( win, wxT("associated window can't be NULL in wxVarScrollHelperBase") );
|
||||
|
||||
#if wxUSE_MOUSEWHEEL
|
||||
m_sumWheelRotation = 0;
|
||||
@@ -332,7 +332,7 @@ size_t wxVarScrollHelperBase::GetNewScrollPosition(wxScrollWinEvent& event) cons
|
||||
}
|
||||
|
||||
// unknown scroll event?
|
||||
wxFAIL_MSG( _T("unknown scroll event type?") );
|
||||
wxFAIL_MSG( wxT("unknown scroll event type?") );
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -476,7 +476,7 @@ void wxVarScrollHelperBase::RefreshUnit(size_t unit)
|
||||
|
||||
void wxVarScrollHelperBase::RefreshUnits(size_t from, size_t to)
|
||||
{
|
||||
wxASSERT_MSG( from <= to, _T("RefreshUnits(): empty range") );
|
||||
wxASSERT_MSG( from <= to, wxT("RefreshUnits(): empty range") );
|
||||
|
||||
// clump the range to just the visible units -- it is useless to refresh
|
||||
// the other ones
|
||||
@@ -817,7 +817,7 @@ void wxVarHVScrollHelper::RefreshRowsColumns(size_t fromRow, size_t toRow,
|
||||
size_t fromColumn, size_t toColumn)
|
||||
{
|
||||
wxASSERT_MSG( fromRow <= toRow || fromColumn <= toColumn,
|
||||
_T("RefreshRowsColumns(): empty range") );
|
||||
wxT("RefreshRowsColumns(): empty range") );
|
||||
|
||||
// clump the range to just the visible units -- it is useless to refresh
|
||||
// the other ones
|
||||
@@ -965,7 +965,7 @@ bool wxVarVScrollLegacyAdaptor::ScrollPages(int pages)
|
||||
|
||||
wxCoord wxVarVScrollLegacyAdaptor::OnGetLineHeight(size_t WXUNUSED(n)) const
|
||||
{
|
||||
wxFAIL_MSG( _T("OnGetLineHeight() must be overridden if OnGetRowHeight() isn't!") );
|
||||
wxFAIL_MSG( wxT("OnGetLineHeight() must be overridden if OnGetRowHeight() isn't!") );
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user