made GetMultiLineTextExtent() const (part of patch 1595123)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -446,7 +446,7 @@ public:
|
||||
wxCoord *width,
|
||||
wxCoord *height,
|
||||
wxCoord *heightLine = NULL,
|
||||
wxFont *font = NULL);
|
||||
wxFont *font = NULL) const;
|
||||
|
||||
// Measure cumulative width of text after each character
|
||||
bool GetPartialTextExtents(const wxString& text, wxArrayInt& widths) const
|
||||
|
@@ -471,7 +471,7 @@ void wxDCBase::GetMultiLineTextExtent(const wxString& text,
|
||||
wxCoord *x,
|
||||
wxCoord *y,
|
||||
wxCoord *h,
|
||||
wxFont *font)
|
||||
wxFont *font) const
|
||||
{
|
||||
wxCoord widthTextMax = 0, widthLine,
|
||||
heightTextTotal = 0, heightLineDefault = 0, heightLine = 0;
|
||||
|
Reference in New Issue
Block a user