// wxTextCtrl
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxTextCtrl, wxTextCtrlBase)
-
BEGIN_EVENT_TABLE(wxTextCtrl, wxTextCtrlBase)
EVT_PAINT(wxTextCtrl::OnPaint)
EVT_ERASE_BACKGROUND(wxTextCtrl::OnEraseBackground)
size_t pos = 0;
wxString token( GetNextToken( line, pos ) );
- while (!token.IsNull())
+ while ( !token.empty() )
{
if (m_keywords.Index( token ) != wxNOT_FOUND)
{