From 0583cd2ea35f8ba7a159adf451c667c02ebdc287 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Fri, 14 Jul 2017 13:30:09 +1200 Subject: [PATCH] Drop wxALIGN_BOTTOM from vertical sizer It doesn't do anything for a vertical sizer, and causes a warning dialog to pop up with wxWidgets 3.1.0. --- src/aboutdlg.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aboutdlg.cc b/src/aboutdlg.cc index a20bcad3..130868d0 100644 --- a/src/aboutdlg.cc +++ b/src/aboutdlg.cc @@ -4,7 +4,7 @@ // About box handling for Aven. // // Copyright (C) 2001-2003 Mark R. Shinwell. -// Copyright (C) 2001,2002,2003,2004,2005,2006,2010,2014,2015 Olly Betts +// Copyright (C) 2001,2002,2003,2004,2005,2006,2010,2014,2015,2017 Olly Betts // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -189,7 +189,7 @@ AboutDlg::AboutDlg(wxWindow* parent, const wxIcon & app_icon) : wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY), 1, wxLEFT | wxRIGHT | wxEXPAND, 20); - vert->Add(10, 5, 0, wxALIGN_BOTTOM | wxTOP, 5); + vert->Add(10, 5, 0, wxTOP, 5); wxBoxSizer* bottom = new wxBoxSizer(wxHORIZONTAL); bottom->Add(5, 5, 1); -- 2.11.4.GIT