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);
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;