- int WXUNUSED(flags) = 0)
+ int WXUNUSED(flags) = 0,
+ wxHeaderSortIconType WXUNUSED(sortArrow) = wxHDR_SORT_ICON_NONE,
+ wxHeaderButtonParams* WXUNUSED(params) = NULL)
// handlers) which process them. It can be also done at run-time, but for the
// simple menu events like this the static method is much simpler.
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
// handlers) which process them. It can be also done at run-time, but for the
// simple menu events like this the static method is much simpler.
BEGIN_EVENT_TABLE(MyFrame, wxFrame)
EVT_MENU(Render_Load, MyFrame::OnLoad)
EVT_MENU(Render_Unload,MyFrame::OnUnload)
EVT_MENU(Render_Load, MyFrame::OnLoad)
EVT_MENU(Render_Unload,MyFrame::OnUnload)
EVT_MENU(Render_Quit, MyFrame::OnQuit)
EVT_MENU(Render_About, MyFrame::OnAbout)
EVT_MENU(Render_Quit, MyFrame::OnQuit)
EVT_MENU(Render_About, MyFrame::OnAbout)
menuFile->Append(Render_Load, _T("&Load renderer...\tCtrl-L"));
menuFile->Append(Render_Unload, _T("&Unload renderer\tCtrl-U"));
menuFile->Append(Render_Load, _T("&Load renderer...\tCtrl-L"));
menuFile->Append(Render_Unload, _T("&Unload renderer\tCtrl-U"));
menuFile->Append(Render_Quit, _T("E&xit\tCtrl-Q"), _T("Quit this program"));
// the "About" item should be in the help menu
menuFile->Append(Render_Quit, _T("E&xit\tCtrl-Q"), _T("Quit this program"));
// the "About" item should be in the help menu