#if wxUSE_FILEDLG
#include "wx/filedlg.h"
+#include "wx/modalhook.h"
//-----------------------------------------------------------------------------
int wxFileDialog::ShowModal()
{
+ WX_HOOK_MODAL_DIALOG();
+
return wxGenericFileDialog::ShowModal();
}