break;
default:
- wxFAIL_MSG(_T("unexpected shaft part in wxScrollThumbTimer"));
+ wxFAIL_MSG(wxT("unexpected shaft part in wxScrollThumbTimer"));
// fall through
case wxScrollThumb::Shaft_Below:
wxScrollThumb::~wxScrollThumb()
{
// it should have been destroyed
- wxASSERT_MSG( !m_captureData, _T("memory leak in wxScrollThumb") );
+ wxASSERT_MSG( !m_captureData, wxT("memory leak in wxScrollThumb") );
}
// ----------------------------------------------------------------------------
int wxScrollThumb::GetThumbPos(const wxMouseEvent& event) const
{
wxCHECK_MSG( m_captureData && m_captureData->m_shaftPart == Shaft_Thumb, 0,
- _T("can't be called when thumb is not dragged") );
+ wxT("can't be called when thumb is not dragged") );
int x = GetMouseCoord(event) - m_captureData->m_ofsMouse;
return m_control->PixelToThumbPos(x);