X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/277480474552707c27c7466bb5e5d1738a16372b..e7e52b6d2fa1021a0fcf1a507ed8742c71b0da50:/src/common/dcbase.cpp diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index 958d45969b..83e9980940 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -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++ )