X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f04371f0813ccd2a71f35aa94eeefb47ef74854b..b46e869676813430c8fbf0d5828005f1b898d985:/include/wx/gtk1/dcps.h?ds=sidebyside diff --git a/include/wx/gtk1/dcps.h b/include/wx/gtk1/dcps.h index 33c03a2f0d..f996001cb8 100644 --- a/include/wx/gtk1/dcps.h +++ b/include/wx/gtk1/dcps.h @@ -45,10 +45,12 @@ public: bool Create(const wxString& output, bool interactive = TRUE, wxWindow *parent = (wxWindow *) NULL); + virtual bool Ok() const; + virtual bool PrinterDialog(wxWindow *parent = (wxWindow *) NULL); - inline virtual void BeginDrawing(void) {} ; - inline virtual void EndDrawing(void) {} ; + virtual void BeginDrawing() {} + virtual void EndDrawing() {} void FloodFill(long x1, long y1, const wxColour &col, int style=wxFLOOD_SURFACE) ; bool GetPixel(long x1, long y1, wxColour *col) const; @@ -80,8 +82,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(); @@ -90,7 +91,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(); @@ -107,16 +108,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 SetBackgroundMode(int WXUNUSED(mode)) {} inline void SetPalette(const wxPalette& WXUNUSED(palette)) {} - + inline ofstream *GetStream(void) const { return m_pstream; } protected: @@ -132,7 +133,7 @@ protected: double m_underlineThickness; }; -#endif +#endif // wxUSE_POSTSCRIPT #endif