]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix - wxCoord, not int
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 4 Dec 2001 23:44:12 +0000 (23:44 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 4 Dec 2001 23:44:12 +0000 (23:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dcbase.cpp

index 958d45969b2f807b772d3b7e71636fcd75413692..83e9980940dd5beb368f971292dda3e1c6c7352a 100644 (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++ )