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:
Robert Roebling 2004-11-05 22:25:25 +00:00
parent aac85509bd
commit 04a014a5d6
3 changed files with 11 additions and 1 deletions

View File

@ -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;
}
// ----------------------------------------------------------------------------

View File

@ -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;
}
/*

View File

@ -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;
}
/*