X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff3e84ffdc91ee8a52b3ab646e48d44d62de80e1..75a438f9ac0303fec73b70d153c28b9a7269f121:/src/gtk1/filedlg.cpp diff --git a/src/gtk1/filedlg.cpp b/src/gtk1/filedlg.cpp index 06b502e07a..59f8824386 100644 --- a/src/gtk1/filedlg.cpp +++ b/src/gtk1/filedlg.cpp @@ -13,6 +13,7 @@ #if wxUSE_FILEDLG #include "wx/filedlg.h" +#include "wx/testing.h" //----------------------------------------------------------------------------- @@ -44,11 +45,13 @@ wxFileDialog::~wxFileDialog() void wxFileDialog::OnFakeOk( wxCommandEvent &event ) { - wxGenericFileDialog::OnListOk( event ); + wxGenericFileDialog::OnOk( event ); } int wxFileDialog::ShowModal() { + WX_TESTING_SHOW_MODAL_HOOK(); + return wxGenericFileDialog::ShowModal(); }