delete preview;
return FALSE;
}
-
- else {
- wxPreviewFrame *frame = new wxPreviewFrame(preview, m_Frame,
- m_Name + _(" Preview"),
- wxPoint(100, 100), wxSize(650, 500));
- frame -> Centre(wxBOTH);
- frame -> Initialize();
- frame -> Show(TRUE);
- return TRUE;
- }
+
+ wxPreviewFrame *frame = new wxPreviewFrame(preview, m_Frame,
+ m_Name + _(" Preview"),
+ wxPoint(100, 100), wxSize(650, 500));
+ frame -> Centre(wxBOTH);
+ frame -> Initialize();
+ frame -> Show(TRUE);
+ return TRUE;
}
{
return FALSE;
}
- else
- {
- (*m_PrintData) = printer.GetPrintDialogData().GetPrintData();
- return TRUE;
- }
+
+ (*m_PrintData) = printer.GetPrintDialogData().GetPrintData();
+ return TRUE;
}