printing added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1998-07-20 08:43:47 +00:00
parent 86bb7d4825
commit 9480f5d151
2 changed files with 60 additions and 10 deletions

View File

@@ -141,6 +141,8 @@ wxLayoutWindow::UpdateScrollbars(void)
void
wxLayoutWindow::Print(void)
{
VAR(wxThePrintSetupData);
wxPostScriptDC dc("layout.ps",true,this);
if (dc.Ok() && dc.StartDoc((char *)_("Printing message...")))
{