projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b44f1ca
)
[wxGTK2.4] Make affirmative button the default in wxFileDialog GtkFileChooser impl...
author
Mart Raudsepp
<leio@gentoo.org>
Thu, 11 May 2006 17:05:12 +0000
(17:05 +0000)
committer
Mart Raudsepp
<leio@gentoo.org>
Thu, 11 May 2006 17:05:12 +0000
(17:05 +0000)
Closes bugs #
1484037
and #
1347052
.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39138
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/filedlg.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/filedlg.cpp
b/src/gtk/filedlg.cpp
index 77f19242ded1e061b79a6d8d384f5128ee007f79..4488c5e837339dea1f365571717a6fd6025c54d5 100644
(file)
--- a/
src/gtk/filedlg.cpp
+++ b/
src/gtk/filedlg.cpp
@@
-177,6
+177,8
@@
wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message,
ok_btn_stock, GTK_RESPONSE_ACCEPT,
NULL);
+ gtk_dialog_set_default_response(GTK_DIALOG(m_widget), GTK_RESPONSE_ACCEPT);
+
if ( style & wxMULTIPLE )
gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(m_widget), true);