projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
426272a
)
2.4 GTK fix as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/93157
author
Chris Elliott
<biol75@york.ac.uk>
Sun, 28 Oct 2007 10:54:19 +0000
(10:54 +0000)
committer
Chris Elliott
<biol75@york.ac.uk>
Sun, 28 Oct 2007 10:54:19 +0000
(10:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49503
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/gtk/filectrl.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/gtk/filectrl.cpp
b/src/gtk/filectrl.cpp
index c8b852d36dd4fe63b758b7e2a84a25dd9a05b638..5beb5a438e5d219bacfbbbfccd6d20f4d9714d01 100644
(file)
--- a/
src/gtk/filectrl.cpp
+++ b/
src/gtk/filectrl.cpp
@@
-422,7
+422,12
@@
void wxGtkFileCtrl::GetFilenames( wxArrayString& files ) const
void wxGtkFileCtrl::ShowHidden(bool show)
{
+#ifdef __WXGTK26__
gtk_file_chooser_set_show_hidden(m_fcWidget, show);
+#else
+ // gtk_file_chooser_set_show_hidden only in 2.6
+ g_object_set (G_OBJECT (m_fcWidget), "show-hidden", show, NULL);
+#endif
}
#endif