Fix assertion with wxWidgets 3.1.
authorCarl Hetherington <cth@carlh.net>
Thu, 10 Sep 2020 12:56:18 +0000 (14:56 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 10 Sep 2020 12:56:18 +0000 (14:56 +0200)
src/wx/job_view.cc

index b61da04..77f6af6 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;