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:
Václav Slavík
2004-08-15 15:48:44 +00:00
parent 4fa87bd948
commit c50e42a122
7 changed files with 33 additions and 19 deletions

View File

@@ -190,7 +190,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
if ( hasAbortButton )
{
m_btnAbort = new wxButton(this, wxID_CANCEL, _("Cancel"));
m_btnAbort = new wxButton(this, wxID_CANCEL, wxSTOCK_CANCEL);
// Windows dialogs usually have buttons in the lower right corner
#if defined(__WXMSW__) || defined(__WXPM__)