]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/filectrl.h
Add wxConfig::Read(float *) overload.
[wxWidgets.git] / include / wx / gtk / filectrl.h
index d5a462ef81d09575dde829bea4f33d51ec891acb..e84fff83f4f7bdeb693fe05cc0663b85aa9ca0cb 100644 (file)
@@ -48,8 +48,14 @@ public:
     void SetWildcard( const wxString& wildCard );
     void SetFilterIndex( int filterIndex );
 
+    wxString GetCurrentWildCard() const
+       { return m_wildcards[GetFilterIndex()]; }
+
 private:
     GtkFileChooser *m_widget;
+    // First wildcard in filter, to be used when the user
+    // saves a file without giving an extension.
+    wxArrayString   m_wildcards;
 };
 
 #if wxUSE_FILECTRL