Allow to set the various buttons explicitly (and
not through IDs) in the wxStdButtonSizer. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1684,6 +1684,21 @@ void wxStdDialogButtonSizer::AddButton(wxButton *mybutton)
|
||||
}
|
||||
}
|
||||
|
||||
void wxStdDialogButtonSizer::SetAffirmativeButton( wxButton *button )
|
||||
{
|
||||
m_buttonAffirmative = button;
|
||||
}
|
||||
|
||||
void wxStdDialogButtonSizer::SetNegativeButton( wxButton *button )
|
||||
{
|
||||
m_buttonNegative = button;
|
||||
}
|
||||
|
||||
void wxStdDialogButtonSizer::SetCancelButton( wxButton *button )
|
||||
{
|
||||
m_buttonCancel = button;
|
||||
}
|
||||
|
||||
void wxStdDialogButtonSizer::Finalise()
|
||||
{
|
||||
#ifdef __WXMAC__
|
||||
|
Reference in New Issue
Block a user