]> git.saurik.com Git - wxWidgets.git/commitdiff
Use stock id instead of duplicating its string label in CheckFit().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Jul 2009 16:41:25 +0000 (16:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 25 Jul 2009 16:41:25 +0000 (16:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmprint.cpp

index 60d681cff097c6937707687288f634c59f6b307b..6a22f88547216fb3bff807a225a50a233c5126e9 100644 (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;