don't use _() as default parameter for wxPrintDialogBase title
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,10 +23,12 @@ class WXDLLEXPORT wxPrintDialogBase : public wxDialog
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxPrintDialogBase() { }
|
wxPrintDialogBase() { }
|
||||||
wxPrintDialogBase(wxWindow *parent, wxWindowID id = -1, const wxString &title = _("Print"),
|
wxPrintDialogBase(wxWindow *parent,
|
||||||
|
wxWindowID id = wxID_ANY,
|
||||||
|
const wxString &title = wxEmptyString,
|
||||||
const wxPoint &pos = wxDefaultPosition,
|
const wxPoint &pos = wxDefaultPosition,
|
||||||
const wxSize &size = wxDefaultSize,
|
const wxSize &size = wxDefaultSize,
|
||||||
long style = wxDEFAULT_DIALOG_STYLE );
|
long style = wxDEFAULT_DIALOG_STYLE);
|
||||||
|
|
||||||
virtual int ShowModal() = 0;
|
virtual int ShowModal() = 0;
|
||||||
|
|
||||||
|
@@ -277,9 +277,21 @@ wxPrintDialogData& wxPrinter::GetPrintDialogData() const
|
|||||||
|
|
||||||
IMPLEMENT_ABSTRACT_CLASS(wxPrintDialogBase, wxObject)
|
IMPLEMENT_ABSTRACT_CLASS(wxPrintDialogBase, wxObject)
|
||||||
|
|
||||||
wxPrintDialogBase::wxPrintDialogBase(wxWindow *parent, wxWindowID id,
|
wxPrintDialogBase::wxPrintDialogBase(wxWindow *parent,
|
||||||
const wxString &title, const wxPoint &pos, const wxSize &size, long style ) :
|
wxWindowID id,
|
||||||
wxDialog( parent, id, title, pos, size, style )
|
const wxString &title,
|
||||||
|
const wxPoint &pos,
|
||||||
|
const wxSize &size,
|
||||||
|
long style)
|
||||||
|
: wxDialog
|
||||||
|
(
|
||||||
|
parent,
|
||||||
|
id,
|
||||||
|
title.empty() ? wxString(_("Print")) : title,
|
||||||
|
pos,
|
||||||
|
size,
|
||||||
|
style
|
||||||
|
)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user