void wxStatusBarGeneric::SetFieldsCount(int number, const int *widths)
{
- wxASSERT_MSG( number >= 0, _T("negative number of fields in wxStatusBar?") );
+ wxASSERT_MSG( number >= 0, wxT("negative number of fields in wxStatusBar?") );
// this will result in a call to SetStatusWidths() and thus an update to our
// m_widthsAbs cache
void wxStatusBarGeneric::SetStatusText(const wxString& text, int number)
{
wxCHECK_RET( (number >= 0) && ((size_t)number < m_panes.GetCount()),
- _T("invalid status bar field index") );
+ wxT("invalid status bar field index") );
wxString oldText = GetStatusText(number);
if (oldText != text)
void wxStatusBarGeneric::SetStatusWidths(int n, const int widths_field[])
{
// only set status widths when n == number of statuswindows
- wxCHECK_RET( (size_t)n == m_panes.GetCount(), _T("status bar field count mismatch") );
+ wxCHECK_RET( (size_t)n == m_panes.GetCount(), wxT("status bar field count mismatch") );
wxStatusBarBase::SetStatusWidths(n, widths_field);
bool wxStatusBarGeneric::GetFieldRect(int n, wxRect& rect) const
{
wxCHECK_MSG( (n >= 0) && ((size_t)n < m_panes.GetCount()), false,
- _T("invalid status bar field index") );
+ wxT("invalid status bar field index") );
if (m_widthsAbs.IsEmpty())
return false;