X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/700d08c1092bd08150d47b952c1e0d817a64d75f..a0f4d36895556e3054e2256cb5f1787cc9fcf75c:/include/wx/gtk/filedlg.h diff --git a/include/wx/gtk/filedlg.h b/include/wx/gtk/filedlg.h index d54f2bdd19..38090b16e1 100644 --- a/include/wx/gtk/filedlg.h +++ b/include/wx/gtk/filedlg.h @@ -30,8 +30,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = wxFileDialogNameStr); - - virtual ~wxFileDialog() {} + virtual ~wxFileDialog() { delete m_extraControl; } virtual wxString GetPath() const; virtual void GetPaths(wxArrayString& paths) const; @@ -48,8 +47,8 @@ public: virtual void SetFilterIndex(int filterIndex); virtual int ShowModal(); - virtual bool Show( bool show = true ); + virtual bool SupportsExtraControl() const { return true; } protected: