]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/filedlg.cpp
Fix broken and missing DataView interface items for Phoenix
[wxWidgets.git] / src / gtk1 / filedlg.cpp
index 06b502e07a7cd7c9902894b703709860886b430c..59f8824386cee798d7be064e48b154a8f236a7fa 100644 (file)
@@ -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();
 }