Follow changes in wxRenderer interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -62,7 +62,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(*wxBLUE_BRUSH);
|
dc.SetBrush(*wxBLUE_BRUSH);
|
||||||
dc.SetTextForeground(*wxWHITE);
|
dc.SetTextForeground(*wxWHITE);
|
||||||
@@ -205,7 +207,7 @@ bool MyApp::OnInit()
|
|||||||
// frame constructor
|
// frame constructor
|
||||||
MyFrame::MyFrame()
|
MyFrame::MyFrame()
|
||||||
: wxFrame(NULL,
|
: wxFrame(NULL,
|
||||||
-1,
|
wxID_ANY,
|
||||||
_T("Render wxWidgets Sample"),
|
_T("Render wxWidgets Sample"),
|
||||||
wxPoint(50, 50),
|
wxPoint(50, 50),
|
||||||
wxSize(450, 340))
|
wxSize(450, 340))
|
||||||
|
Reference in New Issue
Block a user