EVT_CHECKBOX( wxID_ANY, FileCtrlWidgetsPage::OnCheckBox )
EVT_RADIOBOX( wxID_ANY, FileCtrlWidgetsPage::OnRadioBox )
+ EVT_FILECTRL_FILTERCHANGED( wxID_ANY, FileCtrlWidgetsPage::OnFileCtrl )
EVT_FILECTRL_FOLDERCHANGED( wxID_ANY, FileCtrlWidgetsPage::OnFileCtrl )
EVT_FILECTRL_SELECTIONCHANGED( wxID_ANY, FileCtrlWidgetsPage::OnFileCtrl )
EVT_FILECTRL_FILEACTIVATED( wxID_ANY, FileCtrlWidgetsPage::OnFileCtrl )
{
wxLogMessage("Selection changed event: %s", wxJoin(event.GetFiles(), ' '));
}
+ else if ( event.GetEventType() == wxEVT_FILECTRL_FILTERCHANGED )
+ {
+ wxLogMessage("Filter changed event: filter %d selected",
+ event.GetFilterIndex() + 1);
+ }
}
#endif // wxUSE_FILECTRL