]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dirdlg.cpp
Style listbox now shows current style
[wxWidgets.git] / src / gtk / dirdlg.cpp
index 18628f6086c576ee63beaa055bbc526d2c3a895f..de32c610dbd437546280f6370f78624700449cdb 100644 (file)
@@ -167,7 +167,7 @@ wxDirDialog::wxDirDialog(wxWindow* parent, const wxString& title,
 void wxDirDialog::OnFakeOk( wxCommandEvent &event )
 {
     if (!gtk_check_version(2,4,0))
-        wxDialog::OnOK( event );
+        EndDialog(wxID_OK);
     else
         wxGenericDirDialog::OnOK( event );
 }