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:
@@ -62,7 +62,7 @@ bool wxGauge::Create( wxWindow *parent,
|
||||
void wxGauge::DoSetGauge()
|
||||
{
|
||||
wxASSERT_MSG( 0 <= m_gaugePos && m_gaugePos <= m_rangeMax,
|
||||
_T("invalid gauge position in DoSetGauge()") );
|
||||
wxT("invalid gauge position in DoSetGauge()") );
|
||||
|
||||
gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (m_widget),
|
||||
m_rangeMax ? ((double)m_gaugePos)/m_rangeMax : 0.0);
|
||||
@@ -90,7 +90,7 @@ void wxGauge::SetRange( int range )
|
||||
|
||||
void wxGauge::SetValue( int pos )
|
||||
{
|
||||
wxCHECK_RET( pos <= m_rangeMax, _T("invalid value in wxGauge::SetValue()") );
|
||||
wxCHECK_RET( pos <= m_rangeMax, wxT("invalid value in wxGauge::SetValue()") );
|
||||
|
||||
m_gaugePos = pos;
|
||||
|
||||
|
Reference in New Issue
Block a user