X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/277480474552707c27c7466bb5e5d1738a16372b..a9249b2eb2a40d8c71f828669045c4ddaa8dc5ff:/src/common/dcbase.cpp?ds=sidebyside 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++ )