X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdir_picker_ctrl.h;h=383362f570d97095e296d6559af3e2d23da44b36;hb=7fa5d6964891ea199e449d30e2591bf61645247b;hp=97c0d217a15541318bcb8a0bae5498a965dad93f;hpb=16a7ea91e973b327735658857cbf996cc740be77;p=dcpomatic.git diff --git a/src/wx/dir_picker_ctrl.h b/src/wx/dir_picker_ctrl.h index 97c0d217a..383362f57 100644 --- a/src/wx/dir_picker_ctrl.h +++ b/src/wx/dir_picker_ctrl.h @@ -1,19 +1,20 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2016 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ @@ -22,18 +23,16 @@ class DirPickerCtrl : public wxPanel { public: - DirPickerCtrl (wxWindow *); + DirPickerCtrl (wxWindow *, wxSize size = wxDefaultSize); wxString GetPath () const; void SetPath (wxString); private: void browse_clicked (); - - wxWindow* _parent; + wxStaticText* _folder; wxButton* _browse; wxString _path; wxSizer* _sizer; }; -