[Commits] (davids) colheader - fixed a compilation warning
commits at osafoundation.org
commits at osafoundation.org
Sat Apr 23 01:52:51 PDT 2005
Commit by: davids
Modified files:
internal/wxPython-2.5/src/generic/colheader.cpp 1.79 1.80
Log message:
colheader - fixed a compilation warning
r=TBD
ViewCVS links:
http://cvs.osafoundation.org/index.cgi/internal/wxPython-2.5/src/generic/colheader.cpp.diff?r1=text&tr1=1.79&r2=text&tr2=1.80
Index: internal/wxPython-2.5/src/generic/colheader.cpp
diff -u internal/wxPython-2.5/src/generic/colheader.cpp:1.79 internal/wxPython-2.5/src/generic/colheader.cpp:1.80
--- internal/wxPython-2.5/src/generic/colheader.cpp:1.79 Sat Apr 23 01:16:34 2005
+++ internal/wxPython-2.5/src/generic/colheader.cpp Sat Apr 23 01:52:50 2005
@@ -2334,7 +2334,7 @@
{
wxString truncStr;
- if ((cutoffCharCount > 0) && (cutoffCharCount <= targetStr.length()))
+ if ((cutoffCharCount > 0) && (cutoffCharCount <= (long)(targetStr.length())))
{
truncStr = targetStr.Left( cutoffCharCount );
targetStr = truncStr + wxString( wxT("...") );
More information about the Commits
mailing list