use stock buttons in generic dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -744,7 +744,7 @@ wxLogDialog::wxLogDialog(wxWindow *parent,
|
||||
// this "Ok" button has wxID_CANCEL id - not very logical, but this allows
|
||||
// to close the log dialog with <Esc> which wouldn't work otherwise (as it
|
||||
// translates into click on cancel button)
|
||||
wxButton *btnOk = new wxButton(this, wxID_CANCEL, _("OK"));
|
||||
wxButton *btnOk = new wxButton(this, wxID_CANCEL, wxSTOCK_OK);
|
||||
sizerButtons->Add(btnOk, 0, wxCENTRE | wxBOTTOM, MARGIN/2);
|
||||
m_btnDetails = new wxButton(this, wxID_MORE, ms_details + EXPAND_SUFFIX);
|
||||
sizerButtons->Add(m_btnDetails, 0, wxCENTRE | wxTOP, MARGIN/2 - 1);
|
||||
@@ -820,7 +820,7 @@ void wxLogDialog::CreateDetailsControls()
|
||||
{
|
||||
// create the save button and separator line if possible
|
||||
#if wxUSE_FILE
|
||||
m_btnSave = new wxButton(this, wxID_SAVE, _("&Save..."));
|
||||
m_btnSave = new wxButton(this, wxID_SAVE, wxSTOCK_SAVE);
|
||||
#endif // wxUSE_FILE
|
||||
|
||||
#if wxUSE_STATLINE
|
||||
|
Reference in New Issue
Block a user