X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b480f61be34ff7a492bf9281d30b1cc1661d6810..646a8a4d0e965993411ae958ffbd6e7a7d87678c:/src/univ/statusbr.cpp?ds=sidebyside diff --git a/src/univ/statusbr.cpp b/src/univ/statusbr.cpp index cbbb9672e4..15485a18a1 100644 --- a/src/univ/statusbr.cpp +++ b/src/univ/statusbr.cpp @@ -183,7 +183,7 @@ void wxStatusBarUniv::SetStatusText(const wxString& text, int number) wxString wxStatusBarUniv::GetStatusText(int number) const { - wxCHECK_MSG( number >= 0 && number < m_nFields, _T(""), + wxCHECK_MSG( number >= 0 && number < m_nFields, wxEmptyString, _T("invalid status bar field index") ); return m_statusText[number];