]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/textctrl.cpp
Always use UTF-8 for file names passed to GTK+ functions under MSW.
[wxWidgets.git] / src / x11 / textctrl.cpp
index e25156a2b219f4c7a958e58be58ba2692f85a7c3..d37b6670680ca3a6c23facb05ce649bef8df2a6c 100644 (file)
@@ -1556,7 +1556,7 @@ void wxTextCtrl::DrawLine( wxDC &dc, int x, int y, const wxString &line2, int li
 
         size_t pos = 0;
         wxString token( GetNextToken( line, pos ) );
-        while (!token.IsNull())
+        while ( !token.empty() )
         {
             if (m_keywords.Index( token ) != wxNOT_FOUND)
             {