From: Václav Slavík Date: Tue, 4 Dec 2001 23:44:12 +0000 (+0000) Subject: compilation fix - wxCoord, not int X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c7aaa64f263c05ba636c4e92cccf7a29bd56ba64 compilation fix - wxCoord, not int git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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++ )