{
public:
wxPrintDialogBase() { }
- wxPrintDialogBase(wxWindow *parent, wxWindowID id = -1, const wxString &title = _("Print"),
- const wxPoint &pos = wxDefaultPosition,
- const wxSize &size = wxDefaultSize,
- long style = wxDEFAULT_DIALOG_STYLE );
+ wxPrintDialogBase(wxWindow *parent,
+ wxWindowID id = wxID_ANY,
+ const wxString &title = wxEmptyString,
+ const wxPoint &pos = wxDefaultPosition,
+ const wxSize &size = wxDefaultSize,
+ long style = wxDEFAULT_DIALOG_STYLE);
virtual int ShowModal() = 0;
IMPLEMENT_ABSTRACT_CLASS(wxPrintDialogBase, wxObject)
-wxPrintDialogBase::wxPrintDialogBase(wxWindow *parent, wxWindowID id,
- const wxString &title, const wxPoint &pos, const wxSize &size, long style ) :
- wxDialog( parent, id, title, pos, size, style )
+wxPrintDialogBase::wxPrintDialogBase(wxWindow *parent,
+ wxWindowID id,
+ const wxString &title,
+ const wxPoint &pos,
+ const wxSize &size,
+ long style)
+ : wxDialog
+ (
+ parent,
+ id,
+ title.empty() ? wxString(_("Print")) : title,
+ pos,
+ size,
+ style
+ )
{
}