X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bc67cc550bcd9d5f93f88ae22a4f6ac7fafb5f7..546db2a8f8e9975eba9e54d7f4b7f3546a4a515d:/include/wx/gtk/dcps.h diff --git a/include/wx/gtk/dcps.h b/include/wx/gtk/dcps.h index 8d0ccedc11..df8f2d0b09 100644 --- a/include/wx/gtk/dcps.h +++ b/include/wx/gtk/dcps.h @@ -16,11 +16,13 @@ #endif #include "wx/dc.h" + +#if wxUSE_POSTSCRIPT + #include "wx/dialog.h" #include "wx/module.h" #include -#if wxUSE_POSTSCRIPT //----------------------------------------------------------------------------- // classes @@ -82,7 +84,7 @@ public: void DrawIcon( const wxIcon& icon, long x, long y ); void DrawBitmap( const wxBitmap& bitmap, long x, long y, bool useMask=FALSE ); - + void DrawText(const wxString& text, long x, long y, bool use16 = FALSE); void Clear(); @@ -91,7 +93,7 @@ public: void SetBrush( const wxBrush& brush ); void SetLogicalFunction( int function ); void SetBackground( const wxBrush& brush ); - + void SetClippingRegion(long x, long y, long width, long height); void SetClippingRegion( const wxRegion ®ion ); void DestroyClippingRegion(); @@ -108,16 +110,16 @@ public: long *descent = (long *) NULL, long *externalLeading = (long *) NULL, wxFont *theFont = (wxFont *) NULL, bool use16 = FALSE); - + void GetSize(int* width, int* height) const; void GetSizeMM(long *width, long *height) const; void SetAxisOrientation( bool xLeftRight, bool yBottomUp ); void SetDeviceOrigin( long x, long y ); - + inline void SetBackgroundMode(int WXUNUSED(mode)) {} inline void SetPalette(const wxPalette& WXUNUSED(palette)) {} - + inline ofstream *GetStream(void) const { return m_pstream; } protected: @@ -133,7 +135,7 @@ protected: double m_underlineThickness; }; -#endif +#endif // wxUSE_POSTSCRIPT #endif