Fix path returned from wxGTK wxFileDialog too.

This is similar to the fixes to wxDirDialog in r72779.

Closes #14786.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-11-17 23:56:47 +00:00
parent 1d9f819c69
commit 0508392167
3 changed files with 63 additions and 88 deletions

View File

@@ -59,6 +59,9 @@ public:
virtual bool SupportsExtraControl() const { return true; }
// Implementation only.
void GTKOnAccept();
void GTKOnCancel();
protected:
// override this from wxTLW since the native
@@ -69,10 +72,10 @@ protected:
private:
void OnFakeOk( wxCommandEvent &event );
void OnSize(wxSizeEvent&);
virtual void AddChildGTK(wxWindowGTK* child);
wxString m_selectedDirectory;
wxGtkFileChooser m_fc;
DECLARE_DYNAMIC_CLASS(wxFileDialog)