Fix #9917: File save dialog does not honor file extension on GTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-08-29 13:57:03 +00:00
parent 33ccf3d1ec
commit 2038034368
3 changed files with 29 additions and 1 deletions

View 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