From 3fff75338a0f7ba6a210aa330fee64c91f636bc8 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Jul 2009 16:41:25 +0000 Subject: [PATCH] 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 --- src/html/htmprint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index 60d681cff0..6a22f88547 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -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;