General tidy-up (mainly typecasts) to allow the use of the SGI native
compilers (tested on Irix 6.5 with -mips3 -n32). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,7 +58,7 @@ wxPostScriptPrinter::~wxPostScriptPrinter(void)
|
||||
bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool prompt)
|
||||
{
|
||||
abortIt = FALSE;
|
||||
abortWindow = NULL;
|
||||
abortWindow = (wxWindow *) NULL;
|
||||
|
||||
if (!printout)
|
||||
return FALSE;
|
||||
@@ -97,7 +97,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
|
||||
printData.EnablePageNumbers(FALSE);
|
||||
|
||||
// Create a suitable device context
|
||||
wxDC *dc = NULL;
|
||||
wxDC *dc = (wxDC *) NULL;
|
||||
if (prompt)
|
||||
{
|
||||
wxGenericPrintDialog dialog(parent, & printData);
|
||||
@@ -109,7 +109,7 @@ bool wxPostScriptPrinter::Print(wxWindow *parent, wxPrintout *printout, bool pro
|
||||
}
|
||||
else
|
||||
{
|
||||
dc = new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, NULL);
|
||||
dc = new wxPostScriptDC(wxThePrintSetupData->GetPrinterFile(), FALSE, (wxWindow *) NULL);
|
||||
}
|
||||
|
||||
// May have pressed cancel.
|
||||
|
Reference in New Issue
Block a user