make the sample work again by correcting DrawHeaderButton() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -30,7 +30,9 @@ public:
|
|||||||
virtual void DrawHeaderButton(wxWindow * WXUNUSED(win),
|
virtual void DrawHeaderButton(wxWindow * WXUNUSED(win),
|
||||||
wxDC& dc,
|
wxDC& dc,
|
||||||
const wxRect& rect,
|
const wxRect& rect,
|
||||||
int WXUNUSED(flags) = 0)
|
int WXUNUSED(flags) = 0,
|
||||||
|
wxHeaderSortIconType WXUNUSED(sortArrow) = wxHDR_SORT_ICON_NONE,
|
||||||
|
wxHeaderButtonParams* WXUNUSED(params) = NULL)
|
||||||
{
|
{
|
||||||
dc.SetBrush(*wxCYAN_BRUSH);
|
dc.SetBrush(*wxCYAN_BRUSH);
|
||||||
dc.SetTextForeground(*wxRED);
|
dc.SetTextForeground(*wxRED);
|
||||||
|
Reference in New Issue
Block a user