]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
Committing in .
[wxWidgets.git] / src / common / dcbase.cpp
index 958d45969b2f807b772d3b7e71636fcd75413692..83e9980940dd5beb368f971292dda3e1c6c7352a 100644 (file)
@@ -328,8 +328,8 @@ void wxDCBase::GetMultiLineTextExtent(const wxString& text,
                                       wxCoord *h,
                                       wxFont *font)
 {
-    int widthTextMax = 0, widthLine,
-        heightTextTotal = 0, heightLineDefault = 0, heightLine = 0;
+    wxCoord widthTextMax = 0, widthLine,
+            heightTextTotal = 0, heightLineDefault = 0, heightLine = 0;
 
     wxString curLine;
     for ( const wxChar *pc = text; ; pc++ )