X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/277480474552707c27c7466bb5e5d1738a16372b..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/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++ )