projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prevent surplus calls of _size_allocate() if no change
[wxWidgets.git]
/
src
/
gtk
/
dirdlg.cpp
diff --git
a/src/gtk/dirdlg.cpp
b/src/gtk/dirdlg.cpp
index 7874ff5773f8dc06960c9c81d687509d06d24f13..08e4a0af44558238d0f61238993209588ff81103 100644
(file)
--- a/
src/gtk/dirdlg.cpp
+++ b/
src/gtk/dirdlg.cpp
@@
-120,6
+120,7
@@
wxDirDialog::wxDirDialog(wxWindow* parent,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
NULL);
+ g_object_ref(m_widget);
gtk_dialog_set_default_response(GTK_DIALOG(m_widget), GTK_RESPONSE_ACCEPT);