X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..3fd8c9885425ab527572a74d16badc913dfba53c:/include/wx/generic/dcpsg.h diff --git a/include/wx/generic/dcpsg.h b/include/wx/generic/dcpsg.h index ddd9888e68..65d2b2b325 100644 --- a/include/wx/generic/dcpsg.h +++ b/include/wx/generic/dcpsg.h @@ -11,16 +11,19 @@ #ifndef _WX_DCPSG_H_ #define _WX_DCPSG_H_ -#include "wx/dc.h" +#include "wx/defs.h" #if wxUSE_PRINTING_ARCHITECTURE #if wxUSE_POSTSCRIPT +#include "wx/dc.h" #include "wx/dialog.h" #include "wx/module.h" #include "wx/cmndata.h" +extern WXDLLIMPEXP_DATA_CORE(int) wxPageNumber; + //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- @@ -40,9 +43,10 @@ public: wxPostScriptDC(const wxPrintData& printData); // Recommended destructor :-) - ~wxPostScriptDC(); + virtual ~wxPostScriptDC(); - virtual bool Ok() const; + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const; bool CanDrawBitmap() const { return true; }