diff --git a/src/msw/graphics.cpp b/src/msw/graphics.cpp index 03037d82b3..65377a464e 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -1504,6 +1504,8 @@ void wxGDIPlusContext::GetTextExtent( const wxString &str, wxDouble *width, wxDo m_context->MeasureString((const wchar_t *) s , wcslen(s) , f, layoutRect, &strFormat, &bounds ) ; if ( width ) *width = bounds.Width; + if ( height ) + *height = bounds.Height; } }