mirror of https://github.com/PCSX2/pcsx2.git
GUI: Remove ineffective alignment specifiers
WX 3.1.5 asserts on these, not fun
This commit is contained in:
parent
66a1c26b77
commit
b8eb18836f
|
@ -309,7 +309,7 @@ void ModalButtonPanel::OnActionButtonClicked( wxCommandEvent& evt )
|
||||||
|
|
||||||
void ModalButtonPanel::AddCustomButton( wxWindowID id, const wxString& label )
|
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);
|
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
|
// wxWidgets will assign the labels and stuff for us. :D
|
||||||
void ModalButtonPanel::AddActionButton( wxWindowID id )
|
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);
|
Bind(wxEVT_BUTTON, &ModalButtonPanel::OnActionButtonClicked, this, id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue