WXUNUSED()
Jump to navigation
Jump to search
Overview
WXUNUSED is a macro you'll use for the wxEvent parameter of a hollow event handler to make some compilers not to complain about unused parameters. This simple concept used to appear sometimes a problem for beginners because it seems to have been never explained anywhere openly before.
Usage example
void MyFrame::OnExit( wxEvent& WXUNUSED(event) )
{
// Do Something
}
~Vik Karabin vikentii.karabin at gmail.com