X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d63b79352db5290a9f86428d193bd6a08ef32f..24f86c43c427160b7fb5a1b06c4c0861cc6cc72f:/include/wx/palmos/dcprint.h?ds=inline diff --git a/include/wx/palmos/dcprint.h b/include/wx/palmos/dcprint.h index 707c46dd4b..6051b0a23c 100644 --- a/include/wx/palmos/dcprint.h +++ b/include/wx/palmos/dcprint.h @@ -12,16 +12,12 @@ #ifndef _WX_DCPRINT_H_ #define _WX_DCPRINT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "dcprint.h" -#endif - #if wxUSE_PRINTING_ARCHITECTURE #include "wx/dc.h" #include "wx/cmndata.h" -class WXDLLEXPORT wxPrinterDC : public wxDC +class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC { public: // Create a printer DC (obsolete function: use wxPrintData version now) @@ -38,6 +34,8 @@ public: virtual void StartPage(); virtual void EndPage(); + wxRect GetPaperRect(); + protected: virtual void DoDrawBitmap(const wxBitmap &bmp, wxCoord x, wxCoord y, bool useMask = FALSE); @@ -56,10 +54,10 @@ private: }; // Gets an HDC for the default printer configuration -// WXHDC WXDLLEXPORT wxGetPrinterDC(int orientation); +// WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(int orientation); // Gets an HDC for the specified printer configuration -WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& data); +WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(const wxPrintData& data); #endif // wxUSE_PRINTING_ARCHITECTURE