]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmprint.cpp
Don't generate duplicated events for clicks on tree +/- buttons.
[wxWidgets.git] / 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;