Allow building and running with wxWidgets 3.1.x as well as 3.0.x.
[dcpomatic.git] / src / wx / job_view.cc
index b61da04f84da3ff1dd6dbba67f3c1e0187c1a7d5..77f6af6fbdc700025402a4d1edd2d16576624820 100644 (file)
@@ -61,7 +61,7 @@ JobView::setup ()
        _gauge->SetMinSize (wxSize (0, -1));
        _gauge_message->Add (_gauge, 0, wxEXPAND | wxLEFT | wxRIGHT);
        _message = new StaticText (_container, wxT(" \n "), wxDefaultPosition, wxDefaultSize, wxST_ELLIPSIZE_MIDDLE);
-       _gauge_message->Add (_message, 1, wxEXPAND | wxALIGN_CENTER_VERTICAL | wxALL, 6);
+       _gauge_message->Add (_message, 1, wxEXPAND | wxALL, 6);
        _table->Insert (n, _gauge_message, 1, wxEXPAND | wxLEFT | wxRIGHT);
        ++n;