X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1d5aa4eca541a2f90044a63f555985d6bd4adf3..b6fd0b424573e09ae7e83a28b225bbba008157b7:/include/wx/gtk/filedlg.h diff --git a/include/wx/gtk/filedlg.h b/include/wx/gtk/filedlg.h index f81d91ca69..e588526f00 100644 --- a/include/wx/gtk/filedlg.h +++ b/include/wx/gtk/filedlg.h @@ -30,7 +30,7 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& sz = wxDefaultSize, const wxString& name = wxFileDialogNameStr); - virtual ~wxFileDialog() { delete m_extraControl; } + virtual ~wxFileDialog(); virtual wxString GetPath() const; virtual void GetPaths(wxArrayString& paths) const; @@ -62,6 +62,7 @@ protected: private: void OnFakeOk( wxCommandEvent &event ); void OnSize(wxSizeEvent&); + virtual void AddChildGTK(wxWindowGTK* child); wxGtkFileChooser m_fc;