summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-04-22 16:11:04 +0100
committerCarl Hetherington <cth@carlh.net>2016-04-22 16:11:04 +0100
commit28f6eff123979f00944a290794695e31540ecaa2 (patch)
tree5710adc800ccff6ea34c85c699a8065a94d62795 /src
parent31f491c0f13d23506fd810f61982976a9a60e44d (diff)
Expand window contents to fill the whole window.
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic_kdm.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc
index 2613358e5..0c4141ced 100644
--- a/src/tools/dcpomatic_kdm.cc
+++ b/src/tools/dcpomatic_kdm.cc
@@ -86,7 +86,7 @@ class DOMFrame : public wxFrame
{
public:
DOMFrame (wxString const & title)
- : wxFrame (NULL, -1, title)
+ : wxFrame (0, -1, title)
, _config_dialog (0)
, _job_view (0)
{
@@ -160,7 +160,7 @@ public:
_create = new wxButton (overall_panel, wxID_ANY, _("Create KDMs"));
vertical->Add (_create, 0, wxALL, DCPOMATIC_SIZER_GAP);
- main_sizer->Add (vertical, 1, wxALL, DCPOMATIC_DIALOG_BORDER);
+ main_sizer->Add (vertical, 1, wxALL | wxEXPAND, DCPOMATIC_DIALOG_BORDER);
overall_panel->SetSizer (main_sizer);
/* Instantly save any config changes when using a DCP-o-matic GUI */