+void GenerateFilterChangedEvent( wxFileCtrlBase *fileCtrl, wxWindow *wnd )
+{
+ wxFileCtrlEvent event( wxEVT_FILECTRL_FILTERCHANGED, wnd, wnd->GetId() );
+
+ event.SetFilterIndex( fileCtrl->GetFilterIndex() );
+
+ wnd->GetEventHandler()->ProcessEvent( event );
+}
+