Glitches in wxDelegateRenderer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2002-04-25 20:19:15 +00:00
parent ab0d42f76d
commit 9979fbba4e

View File

@ -620,8 +620,9 @@ public:
const wxString& text, const wxString& text,
const wxRect& rect, const wxRect& rect,
int selStart = -1, int selStart = -1,
int selEnd = -1) int selEnd = -1,
{ m_renderer->DrawTextLine(dc, text, rect, selStart, selEnd); } int flags = 0)
{ m_renderer->DrawTextLine(dc, text, rect, selStart, selEnd, flags); }
virtual void DrawLineWrapMark(wxDC& dc, const wxRect& rect) virtual void DrawLineWrapMark(wxDC& dc, const wxRect& rect)
{ m_renderer->DrawLineWrapMark(dc, rect); } { m_renderer->DrawLineWrapMark(dc, rect); }
@ -719,7 +720,7 @@ public:
virtual void GetComboBitmaps(wxBitmap *bmpNormal, virtual void GetComboBitmaps(wxBitmap *bmpNormal,
wxBitmap *bmpFocus, wxBitmap *bmpFocus,
wxBitmap *bmpPressed, wxBitmap *bmpPressed,
wxBitmap *bmpDisabled) const wxBitmap *bmpDisabled)
{ m_renderer->GetComboBitmaps(bmpNormal, bmpFocus, { m_renderer->GetComboBitmaps(bmpNormal, bmpFocus,
bmpPressed, bmpDisabled); } bmpPressed, bmpDisabled); }
@ -778,7 +779,7 @@ public:
{ return m_renderer->GetSliderTickLen(); } { return m_renderer->GetSliderTickLen(); }
virtual wxRect GetSliderShaftRect(const wxRect& rect, virtual wxRect GetSliderShaftRect(const wxRect& rect,
wxOrientation orient) const wxOrientation orient) const
{ return GetSliderShaftRect(rect, orient); } { return m_renderer->GetSliderShaftRect(rect, orient); }
virtual wxSize GetSliderThumbSize(const wxRect& rect, virtual wxSize GetSliderThumbSize(const wxRect& rect,
wxOrientation orient) const wxOrientation orient) const
{ return m_renderer->GetSliderThumbSize(rect, orient); } { return m_renderer->GetSliderThumbSize(rect, orient); }