GUI: Remove ineffective alignment specifiers

WX 3.1.5 asserts on these, not fun
This commit is contained in:
TellowKrinkle 2021-09-20 17:49:59 -05:00 committed by tellowkrinkle
parent 66a1c26b77
commit b8eb18836f
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}