]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/filedlg.cpp
mdi fix
[wxWidgets.git] / src / gtk / filedlg.cpp
index 256220854e45cc75d7f4495ab3301db1253d0221..499fe0c07c41f778c24841b5c251947cbc320a13 100644 (file)
@@ -273,7 +273,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
 void wxFileDialog::OnFakeOk( wxCommandEvent &event )
 {
     if (!gtk_check_version(2,4,0))
-        wxDialog::OnOK( event );
+        EndDialog(wxID_OK);
     else
         wxGenericFileDialog::OnListOk( event );
 }