fix the bug which prevented the same wxFile/DirDialog object from being used twice (patch 1485127)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-05-28 23:01:21 +00:00
parent fd0bab4353
commit a552d1201f
4 changed files with 22 additions and 45 deletions

View File

@@ -29,7 +29,7 @@ public:
long style = 0,
const wxPoint& pos = wxDefaultPosition);
virtual ~wxFileDialog();
virtual ~wxFileDialog() {}
virtual wxString GetPath() const;
virtual void GetPaths(wxArrayString& paths) const;
@@ -48,8 +48,7 @@ public:
virtual int ShowModal();
virtual bool Show( bool show = true );
//private:
bool m_destroyed_by_delete;
protected:
// override this from wxTLW since the native