From: Mattia Barbon Date: Thu, 25 Apr 2002 20:19:15 +0000 (+0000) Subject: Glitches in wxDelegateRenderer X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9979fbba4ecb2d4a1dadce7cfb0e9c69c793fe9f?ds=inline Glitches in wxDelegateRenderer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/univ/renderer.h b/include/wx/univ/renderer.h index 3aead22044..c0f8e947fd 100644 --- a/include/wx/univ/renderer.h +++ b/include/wx/univ/renderer.h @@ -620,8 +620,9 @@ public: const wxString& text, const wxRect& rect, int selStart = -1, - int selEnd = -1) - { m_renderer->DrawTextLine(dc, text, rect, selStart, selEnd); } + int selEnd = -1, + int flags = 0) + { m_renderer->DrawTextLine(dc, text, rect, selStart, selEnd, flags); } virtual void DrawLineWrapMark(wxDC& dc, const wxRect& rect) { m_renderer->DrawLineWrapMark(dc, rect); } @@ -719,7 +720,7 @@ public: virtual void GetComboBitmaps(wxBitmap *bmpNormal, wxBitmap *bmpFocus, wxBitmap *bmpPressed, - wxBitmap *bmpDisabled) const + wxBitmap *bmpDisabled) { m_renderer->GetComboBitmaps(bmpNormal, bmpFocus, bmpPressed, bmpDisabled); } @@ -778,7 +779,7 @@ public: { return m_renderer->GetSliderTickLen(); } virtual wxRect GetSliderShaftRect(const wxRect& rect, wxOrientation orient) const - { return GetSliderShaftRect(rect, orient); } + { return m_renderer->GetSliderShaftRect(rect, orient); } virtual wxSize GetSliderThumbSize(const wxRect& rect, wxOrientation orient) const { return m_renderer->GetSliderThumbSize(rect, orient); }