]> git.saurik.com Git - wxWidgets.git/commitdiff
undid signed/unsigned warning fix of rev 1.73 as the type of wxString::iterator:...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Apr 2007 12:21:51 +0000 (12:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Apr 2007 12:21:51 +0000 (12:21 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dcbase.cpp

index ecc6e00e4c4677246ee1eddaa81db85d848bddac..b17d055a636aa8f3ab876d0a2b1cbc086a57a516 100644 (file)
@@ -689,7 +689,7 @@ void wxDCBase::DrawLabel(const wxString& text,
         }
         else // not end of line
         {
-            if ( pc - text.begin() == (size_t)indexAccel )
+            if ( pc - text.begin() == indexAccel )
             {
                 // remeber to draw underscore here
                 GetTextExtent(curLine, &startUnderscore, NULL);