compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f106c625bd
commit
8eceaeb621
@ -27,17 +27,19 @@ class MyDllRenderer : public wxDelegateRendererNative
|
||||
{
|
||||
public:
|
||||
// draw the header control button (used by wxListCtrl)
|
||||
virtual void DrawHeaderButton(wxWindow * WXUNUSED(win),
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int WXUNUSED(flags) = 0,
|
||||
wxHeaderSortIconType WXUNUSED(sortArrow) = wxHDR_SORT_ICON_NONE,
|
||||
wxHeaderButtonParams* WXUNUSED(params) = NULL)
|
||||
virtual int DrawHeaderButton(wxWindow * WXUNUSED(win),
|
||||
wxDC& dc,
|
||||
const wxRect& rect,
|
||||
int WXUNUSED(flags) = 0,
|
||||
wxHeaderSortIconType WXUNUSED(sortArrow) = wxHDR_SORT_ICON_NONE,
|
||||
wxHeaderButtonParams* WXUNUSED(params) = NULL)
|
||||
{
|
||||
dc.SetBrush(*wxCYAN_BRUSH);
|
||||
dc.SetTextForeground(*wxRED);
|
||||
dc.DrawRoundedRectangle(rect, 10);
|
||||
dc.DrawLabel(_T("MyDllRenderer"), wxNullBitmap, rect, wxALIGN_CENTER);
|
||||
dc.DrawLabel("MyDllRenderer", wxNullBitmap, rect, wxALIGN_CENTER);
|
||||
|
||||
return dc.GetTextExtent("MyDllRenderer").x;
|
||||
}
|
||||
|
||||
virtual wxRendererVersion GetVersion() const
|
||||
|
Loading…
Reference in New Issue
Block a user