From: Włodzimierz Skiba Date: Mon, 17 Jan 2005 19:21:56 +0000 (+0000) Subject: Stock buttons labels. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/331c1816d7f6fa0162783bd017d238c35d937b6c?ds=inline Stock buttons labels. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index 23b79ecad2..a0f2ed5000 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -181,27 +181,27 @@ wxStdDialogButtonSizer *wxDialogBase::CreateStdDialogButtonSizer( long flags ) wxButton *no = NULL; if (flags & wxOK){ - ok = new wxButton(this, wxID_OK, _("OK")); + ok = new wxButton(this, wxID_OK); sizer->AddButton(ok); } if (flags & wxCANCEL){ - wxButton *cancel = new wxButton(this, wxID_CANCEL, _("Cancel")); + wxButton *cancel = new wxButton(this, wxID_CANCEL); sizer->AddButton(cancel); } if (flags & wxYES){ - yes = new wxButton(this, wxID_YES, _("Yes")); + yes = new wxButton(this, wxID_YES); sizer->AddButton(yes); } if (flags & wxNO){ - no = new wxButton(this, wxID_NO, _("No")); + no = new wxButton(this, wxID_NO); sizer->AddButton(no); } if (flags & wxHELP){ - wxButton *help = new wxButton(this, wxID_HELP, _("Help")); + wxButton *help = new wxButton(this, wxID_HELP); sizer->AddButton(help); }