Added DrawFocusRect to wxRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -247,6 +247,11 @@ public:
|
||||
const wxRect& rect,
|
||||
int flags = 0) = 0;
|
||||
|
||||
// draw the focus rectangle around the label contained in the given rect
|
||||
//
|
||||
// only wxCONTROL_SELECTED makes sense in flags here
|
||||
virtual void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags = 0) = 0;
|
||||
|
||||
// geometry functions
|
||||
// ------------------
|
||||
|
||||
@@ -380,6 +385,9 @@ public:
|
||||
int flags = 0 )
|
||||
{ m_rendererNative.DrawItemSelectionRect( win, dc, rect, flags ); }
|
||||
|
||||
virtual void DrawFocusRect(wxWindow* win, wxDC& dc, const wxRect& rect, int flags = 0)
|
||||
{ m_rendererNative.DrawFocusRect( win, dc, rect, flags ); }
|
||||
|
||||
virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win)
|
||||
{ return m_rendererNative.GetSplitterParams(win); }
|
||||
|
||||
|
Reference in New Issue
Block a user