#include "wx/textdlg.h"
#include "wx/log.h"
#include "wx/msgdlg.h"
+ #include "wx/icon.h"
#endif
#include "wx/apptrait.h"
public:
MyRenderer() : wxDelegateRendererNative(wxRendererNative::GetDefault()) { }
- virtual void DrawHeaderButton(wxWindow * WXUNUSED(win),
+ 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(*wxBLUE_BRUSH);
dc.SetTextForeground(*wxWHITE);
// frame constructor
MyFrame::MyFrame()
: wxFrame(NULL,
- -1,
+ wxID_ANY,
_T("Render wxWidgets Sample"),
wxPoint(50, 50),
wxSize(450, 340))
{
wxMessageBox(_T("Render sample shows how to use custom renderers.\n")
_T("\n")
- _T("© 2003 Vadim Zeitlin"),
+ _T("(c) 2003 Vadim Zeitlin"),
_T("About Render wxWidgets Sample"),
wxOK | wxICON_INFORMATION, this);
}