Use stock id instead of duplicating its string label in CheckFit().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2009-07-25 16:41:25 +00:00
parent 3b5137c4e0
commit 3fff75338a

View File

@ -225,7 +225,7 @@ wxHtmlPrintout::CheckFit(const wxSize& pageArea, const wxSize& docArea) const
_("If possible, try changing the layout parameters to "
"make the printout more narrow.")
);
dlg.SetOKLabel(_("&Print"));
dlg.SetOKLabel(wxID_PRINT);
if ( dlg.ShowModal() == wxID_CANCEL )
return false;