]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcbase.cpp
corrected passing const char * to a function taking char * (part of the patch 543892)
[wxWidgets.git] / src / common / dcbase.cpp
index ae54f14f91d51276c895e8721e552f61b25608e9..83e9980940dd5beb368f971292dda3e1c6c7352a 100644 (file)
@@ -32,7 +32,7 @@
 
 #include <math.h>
 
-bool wxDCBase::sm_cacheing = FALSE;
+// bool wxDCBase::sm_cacheing = FALSE;
 
 // ============================================================================
 // implementation
@@ -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++ )