#ifndef __GTKDCCLIENTH__
#define __GTKDCCLIENTH__
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface
-#endif
-
#include "wx/dc.h"
#include "wx/window.h"
// classes
//-----------------------------------------------------------------------------
-class wxWindowDC;
-class wxPaintDC;
-class wxClientDC;
+class WXDLLIMPEXP_CORE wxWindowDC;
+class WXDLLIMPEXP_CORE wxPaintDC;
+class WXDLLIMPEXP_CORE wxClientDC;
//-----------------------------------------------------------------------------
// wxWindowDC
//-----------------------------------------------------------------------------
-class wxWindowDC : public wxDC
+class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
{
public:
wxWindowDC();
wxCoord *descent = (wxCoord *) NULL,
wxCoord *externalLeading = (wxCoord *) NULL,
wxFont *theFont = (wxFont *) NULL) const;
+ virtual void DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
+ virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion );
public:
virtual wxCoord GetCharWidth() const;
virtual void SetBackgroundMode( int mode );
virtual void SetPalette( const wxPalette& palette );
- virtual void DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height );
virtual void DestroyClippingRegion();
- virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion );
// Resolution in pixels per logical inch
virtual wxSize GetPPI() const;
wxRegion m_paintClippingRegion;
// PangoContext stuff for GTK 2.0
-#ifdef __WXGTK20__
PangoContext *m_context;
PangoLayout *m_layout;
PangoFontDescription *m_fontdesc;
-#endif
void SetUpDC();
void Destroy();
// wxClientDC
//-----------------------------------------------------------------------------
-class wxClientDC : public wxWindowDC
+class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
{
public:
wxClientDC() { }
// wxPaintDC
//-----------------------------------------------------------------------------
-class wxPaintDC : public wxClientDC
+class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
{
public:
wxPaintDC() { }