]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
Added logic, API and docs for wxDataViewModel::HasDefaultCompare indicating a compare...
[wxWidgets.git] / src / common / dcbase.cpp
index f42c88530e070a08b9cc46f1e58e263eb8759efc..67f907abca5cf755efba9db91d30fa17ca1a5c47 100644 (file)
@@ -2302,7 +2302,7 @@ void wxDCBase::DrawLabel(const wxString& text,
     wxString curLine;
     for ( wxString::const_iterator pc = text.begin(); ; ++pc )
     {
-        if ( *pc == _T('\n') || pc == text.end() )
+        if ( pc == text.end() || *pc == _T('\n') )
         {
             int xRealStart = x; // init it here to avoid compielr warnings