// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __POSTSCRPH__
-#define __POSTSCRPH__
+#ifndef _WX_POSTSCRPH__
+#define _WX_POSTSCRPH__
#ifdef __GNUG__
#pragma interface "postscrp.h"
public:
// Create a printer DC
wxPostScriptDC(void);
- wxPostScriptDC(const wxString& output, bool interactive = TRUE, wxWindow *parent = NULL);
+ wxPostScriptDC(const wxString& output, bool interactive = TRUE, wxWindow *parent = (wxWindow *) NULL);
~wxPostScriptDC(void);
- bool Create(const wxString& output, bool interactive = TRUE, wxWindow *parent = NULL);
+ bool Create(const wxString& output, bool interactive = TRUE, wxWindow *parent = (wxWindow *) NULL);
- virtual bool PrinterDialog(wxWindow *parent = NULL);
+ virtual bool PrinterDialog(wxWindow *parent = (wxWindow *) NULL);
inline virtual void BeginDrawing(void) {} ;
inline virtual void EndDrawing(void) {} ;
long GetCharHeight(void);
long GetCharWidth(void);
void GetTextExtent(const wxString& string, long *x, long *y,
- long *descent = NULL, long *externalLeading = NULL,
- wxFont *theFont = NULL, bool use16 = FALSE);
+ long *descent = (long *) NULL,
+ long *externalLeading = (long *) NULL,
+ wxFont *theFont = (wxFont *) NULL, bool use16 = FALSE);
virtual void SetLogicalOrigin(long x, long y);
virtual void CalcBoundingBox(long x, long y);
int heightPixels;
char *pageName;
- wxPrintPaperType(const char *name = NULL, int wmm = 0, int hmm = 0, int wp = 0, int hp = 0);
+ wxPrintPaperType(const char *name = (const char *) NULL, int wmm = 0, int hmm = 0, int wp = 0, int hp = 0);
~wxPrintPaperType(void);
};
#endif // USE_POSTSCRIPT
#endif
- // __POSTSCRPH__
+ // _WX_POSTSCRPH__