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:
		@@ -225,7 +225,7 @@ wxHtmlPrintout::CheckFit(const wxSize& pageArea, const wxSize& docArea) const
 | 
				
			|||||||
                _("If possible, try changing the layout parameters to "
 | 
					                _("If possible, try changing the layout parameters to "
 | 
				
			||||||
                  "make the printout more narrow.")
 | 
					                  "make the printout more narrow.")
 | 
				
			||||||
            );
 | 
					            );
 | 
				
			||||||
        dlg.SetOKLabel(_("&Print"));
 | 
					        dlg.SetOKLabel(wxID_PRINT);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if ( dlg.ShowModal() == wxID_CANCEL )
 | 
					        if ( dlg.ShowModal() == wxID_CANCEL )
 | 
				
			||||||
            return false;
 | 
					            return false;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user