#include "wx/dialog.h"
#include "wx/module.h"
#include "wx/cmndata.h"
+#include "wx/strvararg.h"
extern WXDLLIMPEXP_DATA_CORE(int) wxPageNumber;
// Recommended destructor :-)
virtual ~wxPostScriptDC();
- virtual bool Ok() const;
+ virtual bool Ok() const { return IsOk(); }
+ virtual bool IsOk() const;
bool CanDrawBitmap() const { return true; }
static void SetResolution(int ppi);
static int GetResolution();
- void PsPrintf( const wxChar* fmt, ... );
+ WX_DEFINE_VARARG_FUNC_VOID(PsPrintf, DoPsPrintfFormat)
void PsPrint( const char* psdata );
void PsPrint( int ch );
#endif
private:
+ void DoPsPrintfFormat(const wxChar *fmt, ... );
+
static float ms_PSScaleFactor;
protected: