I admit I have no good solution for wxPrinter::Setup(wxWindow*)
yet. I'd just remove it but I'll think it over if there is or was any use for it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
aac85509bd
commit
04a014a5d6
@ -257,6 +257,7 @@ wxDC* wxPostScriptPrinter::PrintDialog(wxWindow *parent)
|
||||
|
||||
bool wxPostScriptPrinter::Setup(wxWindow *parent)
|
||||
{
|
||||
#if 0
|
||||
wxGenericPrintDialog* dialog = new wxGenericPrintDialog(parent, & m_printDialogData);
|
||||
dialog->GetPrintDialogData().SetSetupDialog(true);
|
||||
|
||||
@ -268,8 +269,11 @@ bool wxPostScriptPrinter::Setup(wxWindow *parent)
|
||||
}
|
||||
|
||||
dialog->Destroy();
|
||||
|
||||
|
||||
return (ret == wxID_OK);
|
||||
#endif
|
||||
|
||||
return wxID_CANCEL;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
@ -699,6 +699,7 @@ wxDC* wxMacPrinter::PrintDialog(wxWindow *parent)
|
||||
|
||||
bool wxMacPrinter::Setup(wxWindow *parent)
|
||||
{
|
||||
#if 0
|
||||
wxPrintDialog dialog(parent, & m_printDialogData);
|
||||
dialog.GetPrintDialogData().SetSetupDialog(TRUE);
|
||||
|
||||
@ -710,6 +711,8 @@ bool wxMacPrinter::Setup(wxWindow *parent)
|
||||
}
|
||||
|
||||
return (ret == wxID_OK);
|
||||
#endif
|
||||
return wxID_CANCEL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -699,6 +699,7 @@ wxDC* wxMacPrinter::PrintDialog(wxWindow *parent)
|
||||
|
||||
bool wxMacPrinter::Setup(wxWindow *parent)
|
||||
{
|
||||
#if 0
|
||||
wxPrintDialog dialog(parent, & m_printDialogData);
|
||||
dialog.GetPrintDialogData().SetSetupDialog(TRUE);
|
||||
|
||||
@ -710,6 +711,8 @@ bool wxMacPrinter::Setup(wxWindow *parent)
|
||||
}
|
||||
|
||||
return (ret == wxID_OK);
|
||||
#endif
|
||||
return wxID_CANCEL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user