#if wxUSE_FILEDLG
#include "wx/filedlg.h"
+#include "wx/modalhook.h"
//-----------------------------------------------------------------------------
void wxFileDialog::OnFakeOk( wxCommandEvent &event )
{
- wxGenericFileDialog::OnListOk( event );
+ wxGenericFileDialog::OnOk( event );
}
int wxFileDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
return wxGenericFileDialog::ShowModal();
}