]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/filectrl.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / gtk / filectrl.h
index d5a462ef81d09575dde829bea4f33d51ec891acb..e194bfc49fa41ae26f4de1162ce3bfec3d362b15 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