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:
Vadim Zeitlin
2009-07-03 12:39:23 +00:00
parent b6ccc13c2f
commit 3b4af85307

View File

@@ -30,7 +30,9 @@ public:
virtual void DrawHeaderButton(wxWindow * WXUNUSED(win),
wxDC& dc,
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.SetTextForeground(*wxRED);