From b8eb18836fa9416d83dbf8daef22e4c9daa85329 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Mon, 20 Sep 2021 17:49:59 -0500 Subject: [PATCH] GUI: Remove ineffective alignment specifiers WX 3.1.5 asserts on these, not fun --- pcsx2/gui/Dialogs/ConfirmationDialogs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/gui/Dialogs/ConfirmationDialogs.cpp b/pcsx2/gui/Dialogs/ConfirmationDialogs.cpp index 25cfa3cb6a..92022ab3d3 100644 --- a/pcsx2/gui/Dialogs/ConfirmationDialogs.cpp +++ b/pcsx2/gui/Dialogs/ConfirmationDialogs.cpp @@ -309,7 +309,7 @@ void ModalButtonPanel::OnActionButtonClicked( wxCommandEvent& evt ) void ModalButtonPanel::AddCustomButton( wxWindowID id, const wxString& label ) { - *this += new wxButton( this, id, label ) | StdButton().Proportion(6); + *this += new wxButton( this, id, label ) | pxBorder().Proportion(6); Bind(wxEVT_BUTTON, &ModalButtonPanel::OnActionButtonClicked, this, id); } @@ -317,6 +317,6 @@ void ModalButtonPanel::AddCustomButton( wxWindowID id, const wxString& label ) // wxWidgets will assign the labels and stuff for us. :D void ModalButtonPanel::AddActionButton( wxWindowID id ) { - *this += new wxButton( this, id ) | StdButton().Proportion(6); + *this += new wxButton( this, id ) | pxBorder().Proportion(6); Bind(wxEVT_BUTTON, &ModalButtonPanel::OnActionButtonClicked, this, id); }