From 822d0ffade6abeea11c77f5c82bc9204f52e79c7 Mon Sep 17 00:00:00 2001 From: Gilberto Caetano de Andrade Date: Mon, 24 Feb 2025 10:38:19 -0300 Subject: [PATCH] fix #35 - assert !(flags & (wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL)) failed in DoInsert() --- pgadmin/frm/frmQuery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgadmin/frm/frmQuery.cpp b/pgadmin/frm/frmQuery.cpp index 11dad7c1c..cad58ca7b 100644 --- a/pgadmin/frm/frmQuery.cpp +++ b/pgadmin/frm/frmQuery.cpp @@ -486,7 +486,7 @@ frmQuery::frmQuery(frmMain *form, const wxString &_title, pgConn *_conn, const w sqlQueries = new wxComboBox(pnlQuery, CTL_SQLQUERYCBOX, wxT(""), wxDefaultPosition, wxDefaultSize, wxArrayString(), wxCB_DROPDOWN | wxCB_READONLY); sqlQueries->SetToolTip(_("Previous queries")); LoadQueries(); - boxHistory->Add(sqlQueries, 1, wxEXPAND | wxALL | wxALIGN_CENTER_VERTICAL, 1); + boxHistory->Add(sqlQueries, 1, wxEXPAND | wxALL, 1); // Delete Current button btnDeleteCurrent = new wxButton(pnlQuery, CTL_DELETECURRENTBTN, _("Delete"));