* Document view
*/
-wxView::wxView(wxDocument *doc)
+wxView::wxView()
{
- SetDocument(doc);
+// SetDocument(doc);
+ m_viewDocument = (wxDocument*) NULL;
m_viewTypeName = "";
m_viewFrame = (wxFrame *) NULL;
if (view)
parentWin = view->GetFrame();
- wxPrintData data;
+ wxPrintDialogData data;
wxPrintDialog printerDialog(parentWin, & data);
- printerDialog.GetPrintData().SetSetupDialog(TRUE);
+ printerDialog.GetPrintDialogData().SetSetupDialog(TRUE);
printerDialog.ShowModal();
}