X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/328bfc22243e3d4672ddf626db4f78e4269c7275..a59c124d063b0df0b3259d99b5b569206414f8f5:/src/common/dcbase.cpp diff --git a/src/common/dcbase.cpp b/src/common/dcbase.cpp index a0214a5cff..83e9980940 100644 --- a/src/common/dcbase.cpp +++ b/src/common/dcbase.cpp @@ -32,6 +32,8 @@ #include +// bool wxDCBase::sm_cacheing = FALSE; + // ============================================================================ // implementation // ============================================================================ @@ -326,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++ )