compilation fix - wxCoord, not int

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2001-12-04 23:44:12 +00:00
parent 6198749900
commit c7aaa64f26

View 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++ )