wxDC *m_dc;
DECLARE_DYNAMIC_CLASS(wxGtkPrinter)
- DECLARE_NO_COPY_CLASS(wxGtkPrinter)
+ wxDECLARE_NO_COPY_CLASS(wxGtkPrinter);
};
//----------------------------------------------------------------------------
wxFAIL_MSG( "not implemented" );
}
void DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y,
- wxCoord *descent = (wxCoord *) NULL,
- wxCoord *externalLeading = (wxCoord *) NULL,
- const wxFont *theFont = (wxFont *) NULL ) const;
+ wxCoord *descent = NULL,
+ wxCoord *externalLeading = NULL,
+ const wxFont *theFont = NULL ) const;
void DoGetSize(int* width, int* height) const;
void DoGetSizeMM(int *width, int *height) const;
double m_DEV2PS;
DECLARE_DYNAMIC_CLASS(wxGtkPrinterDCImpl)
- DECLARE_NO_COPY_CLASS(wxGtkPrinterDCImpl)
+ wxDECLARE_NO_COPY_CLASS(wxGtkPrinterDCImpl);
};
// ----------------------------------------------------------------------------
{
public:
wxGtkPrintPreview(wxPrintout *printout,
- wxPrintout *printoutForPrinting = (wxPrintout *) NULL,
- wxPrintDialogData *data = (wxPrintDialogData *) NULL);
+ wxPrintout *printoutForPrinting = NULL,
+ wxPrintDialogData *data = NULL);
wxGtkPrintPreview(wxPrintout *printout,
wxPrintout *printoutForPrinting,
wxPrintData *data);