virtual ~wxGenericFileDialog();
+ virtual void SetDirectory(const wxString& dir)
+ { m_filectrl->SetDirectory(dir); }
+ virtual void SetFilename(const wxString& name)
+ { m_filectrl->SetFilename(name); }
virtual void SetMessage(const wxString& message) { SetTitle(message); }
virtual void SetPath(const wxString& path)
{ m_filectrl->SetPath(path); }
class WXDLLIMPEXP_CORE wxFileDialog: public wxGenericFileDialog
{
public:
- wxFileDialog() {}
+ wxFileDialog() {}
wxFileDialog(wxWindow *parent,
const wxString& message = wxFileSelectorPromptStr,
const wxString& defaultFile = wxEmptyString,
const wxString& wildCard = wxFileSelectorDefaultWildcardStr,
long style = 0,
- const wxPoint& pos = wxDefaultPosition)
- :wxGenericFileDialog(parent, message, defaultDir, defaultFile, wildCard, style, pos)
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize)
+ :wxGenericFileDialog(parent, message,
+ defaultDir, defaultFile, wildCard,
+ style,
+ pos, size)
{
}