+2016-06-21 Carl Hetherington <cth@carlh.net>
+
+ * Make new file dialogue bigger on some platforms (#902).
+
2016-06-20 Carl Hetherington <cth@carlh.net>
* Updated nl_NL translation from Rob van Nieuwkerk.
using namespace std;
using namespace boost;
-DirPickerCtrl::DirPickerCtrl (wxWindow* parent)
- : wxPanel (parent)
+DirPickerCtrl::DirPickerCtrl (wxWindow* parent, wxSize size)
+ : wxPanel (parent, wxID_ANY, wxDefaultPosition, size)
{
_sizer = new wxBoxSizer (wxHORIZONTAL);
/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
class DirPickerCtrl : public wxPanel
{
public:
- DirPickerCtrl (wxWindow *);
+ DirPickerCtrl (wxWindow *, wxSize size = wxDefaultSize);
wxString GetPath () const;
void SetPath (wxString);
wxString _path;
wxSizer* _sizer;
};
-
add (_("Create in folder"), true);
#ifdef DCPOMATIC_USE_OWN_PICKER
- _folder = new DirPickerCtrl (this);
+ _folder = new DirPickerCtrl (this, wxSize (300, -1));
#else
_folder = new wxDirPickerCtrl (this, wxID_ANY, wxEmptyString, wxDirSelectorPromptStr, wxDefaultPosition, wxSize (300, -1));
#endif